Explorar o código

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

qctecmdr %!s(int64=2) %!d(string=hai) anos
pai
achega
5714474f00
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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);