diff options
author | Gilad Broner <gbroner@codeaurora.org> | 2016-10-18 03:10:00 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-09 01:29:58 +0300 |
commit | a508253d0916a0c5973081c4059425ec04e324c8 (patch) | |
tree | 91398953943563ac0e6c3c9089fb4062c391e582 /drivers/hwmon/hih6130.c | |
parent | dcea0bfbc4cb6796a222ffaeebd77a0a89a1babc (diff) | |
download | linux-a508253d0916a0c5973081c4059425ec04e324c8.tar.xz |
scsi: ufs: suspend clock scaling for failed runtime_resume
During runtime resume operation, clock scaling may get indirectly
resumed via call to ufshcd_set_dev_pwr_mode(): Start/Stop Unit command
times out and SCSI error handling ultimately calls the host reset
handler to recover, during which clock scaling is resumed. Error case
exit path of runtime resume will disable clocks. As clock scaling was
already resumed, it will get scheduled later on and try to access UFS
registers while clocks are disabled, resulting in unclocked register
access.
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/hwmon/hih6130.c')
0 files changed, 0 insertions, 0 deletions