qcedev: vote for crypto clocks during module close
When qcedev module is exiting, it disconnects SPS. At this times, crypto clocks need to be turned on or it will cause a synchronous abort. Tests: rmmod on the qcedev module. Change-Id: I1721fe408392ef81b07a6c08d2196b2413ba2b2f Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com> Signed-off-by: Nageswara reddy Karnati <quic_nkarnati@quicinc.com>
This commit is contained in:
parent
489c7f8c5a
commit
0a7a6f1501
@ -2163,8 +2163,11 @@ static int qcedev_remove(struct platform_device *pdev)
|
|||||||
podev = platform_get_drvdata(pdev);
|
podev = platform_get_drvdata(pdev);
|
||||||
if (!podev)
|
if (!podev)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
qcedev_ce_high_bw_req(podev, true);
|
||||||
if (podev->qce)
|
if (podev->qce)
|
||||||
qce_close(podev->qce);
|
qce_close(podev->qce);
|
||||||
|
qcedev_ce_high_bw_req(podev, false);
|
||||||
|
|
||||||
if (podev->icc_path)
|
if (podev->icc_path)
|
||||||
icc_put(podev->icc_path);
|
icc_put(podev->icc_path);
|
||||||
|
Loading…
Reference in New Issue
Block a user