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

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

Merge "qcedev: vote for crypto clocks during module close"

parents 096643eb 0a7a6f15
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2163,8 +2163,11 @@ static int qcedev_remove(struct platform_device *pdev)
	podev = platform_get_drvdata(pdev);
	if (!podev)
		return 0;

	qcedev_ce_high_bw_req(podev, true);
	if (podev->qce)
		qce_close(podev->qce);
	qcedev_ce_high_bw_req(podev, false);

	if (podev->icc_path)
		icc_put(podev->icc_path);