summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-powernv.c
diff options
context:
space:
mode:
authorStanley Chu <stanley.chu@mediatek.com>2019-01-07 17:19:34 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-01-12 06:16:37 +0300
commitce9e7bce43526626f7cffe2e657953997870197e (patch)
treee140c5f363254404f6bdbbc7497ee45650cc1ac4 /drivers/leds/leds-powernv.c
parentf0783d43dde4bb349fcd667df0afabbdbab8b477 (diff)
downloadlinux-ce9e7bce43526626f7cffe2e657953997870197e.tar.xz
scsi: ufs: Fix system suspend status
hba->is_sys_suspended is set after successful system suspend but not clear after successful system resume. According to current behavior, hba->is_sys_suspended will not be set if host is runtime-suspended but not system-suspended. Thus we shall aligh the same policy: clear this flag even if host remains runtime-suspended after ufshcd_system_resume is successfully returned. Simply fix this flag to correct host status logs. Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/leds/leds-powernv.c')
0 files changed, 0 insertions, 0 deletions