Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8746670 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ice: check for crypto engine availability"

parents 1cd0aea9 be86373d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2014-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1759,7 +1759,7 @@ int qcom_ice_setup_ice_hw(const char *storage_type, int enable)
	if (ice_dev == ERR_PTR(-EPROBE_DEFER))
		return -EPROBE_DEFER;

	if (!ice_dev)
	if (!ice_dev || (ice_dev->is_ice_enabled == false))
		return ret;

	if (enable)