scsi: ufs: enable autobkops during runtime suspend only if required
Currently during runtime suspend, we unconditionally enable the auto
bkops without querying the device for the bkops status. We should
first query the bkops status from the device and enable bkops on device
only if device needs time to perform the bkops. This check would allow
us to put the UFS device in sleep state when bkops is disabled.
Change-Id: Ia32afe5c32f2a6b803378e811db4c054410f7c67
Signed-off-by:
Subhash Jadavani <subhashj@codeaurora.org>
Loading
Please register or sign in to comment