qseecom: Change qseecom bw_inactive_req_ws worker
On the targets where both qseecom and crypto drivers are sharing the
same cE clocks, when qclk->clk_access_cnt was 1, qseecom suspend
callback would disable clock and remove the timer. But bw_inactive_req_ws
worker was still running and would disable it again. As crypto driver
is using the same CE clock, this will erroneously turn off CE clock and
cause external abort. Thus, make changes to cancel bw_inactive_req_ws
worker in qseecom suspend, also let the worker callback only disable clock
when the timer is running.
CRs-Fixed: 802234
Change-Id: I02ae833e07f8128317b5582eb9bafef6204a21ff
Signed-off-by:
Zhen Kong <zkong@codeaurora.org>
Loading
Please register or sign in to comment