mmc: core: remove the polling for BKOPS completion
The original intention of polling for BKOPS completion was to give the card enough time to perform the BKOPS before it is runtime suspended. But as the BKOPS completion polling was happening in a different context, it may race with card runtime/platform suspend which is quite difficult to fix. So instead of BKOPS polling, let the runtime suspend get deferred if the BKOPS is running on the card. Also if BKOPS is running when platform suspend is triggered, stop the BKOPS before suspending the card. CRs-Fixed: 489523 Change-Id: I21e524dc2da37c4985c210abfaca00a28049c651 Signed-off-by:Maya Erez <merez@codeaurora.org> Signed-off-by:
Subhash Jadavani <subhashj@codeaurora.org>
Loading
Please register or sign in to comment