diff options
author | Can Guo <cang@codeaurora.org> | 2020-03-05 00:53:07 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-03-10 18:59:51 -0400 |
commit | be7594a424b4de7473b3d726635c3bf6aa19a86e (patch) | |
tree | 52f82b22d882581c2a3ec6a7cd7408e39e667ac8 /drivers/scsi/ipr.h | |
parent | 03264ddde2453f6877a7d637d84068079632a3c5 (diff) | |
download | linux-be7594a424b4de7473b3d726635c3bf6aa19a86e.tar.gz linux-be7594a424b4de7473b3d726635c3bf6aa19a86e.tar.bz2 linux-be7594a424b4de7473b3d726635c3bf6aa19a86e.zip |
scsi: ufs: Fix possible unclocked access to auto hibern8 timer register
Before access auto hibner8 timer register, make sure power and clock are
properly configured to avoid unclocked register access.
Link: https://lore.kernel.org/r/1583398391-14273-1-git-send-email-cang@codeaurora.org
Fixes: ba7af5ec5126 ("scsi: ufs: export ufshcd_auto_hibern8_update for vendor usage")
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ipr.h')
0 files changed, 0 insertions, 0 deletions