Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5c63d81b authored by Subhash Jadavani's avatar Subhash Jadavani
Browse files

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: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent d851b687
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment