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

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

Merge "msm: ice: Rectify return value from suspend function"

parents 3e68fe1c 969f70ae
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -802,7 +802,7 @@ static int qcom_ice_remove(struct platform_device *pdev)
static int  qcom_ice_suspend(struct platform_device *pdev)
{
	struct ice_device *ice_dev;
	int ret;
	int ret = 0;

	ice_dev = (struct ice_device *)platform_get_drvdata(pdev);

@@ -818,7 +818,7 @@ static int qcom_ice_suspend(struct platform_device *pdev)
			pr_err("%s: Suspend ICE during an ongoing operation\n",
				__func__);
			atomic_set(&ice_dev->is_ice_suspended, 0);
			return ret;
			return -ETIME;
		}
	}