Browse Source

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

qctecmdr 2 years ago
parent
commit
5714474f00
1 changed files with 3 additions and 0 deletions
  1. 3 0
      crypto-qti/qcedev.c

+ 3 - 0
crypto-qti/qcedev.c

@@ -2685,8 +2685,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);