Re: [PATCH v1 1/1] scsi: ufs: Fix system suspend status

2019-01-11 Thread Martin K. Petersen
Stanley, > 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 t

RE: [PATCH v1 1/1] scsi: ufs: Fix system suspend status

2019-01-10 Thread Avri Altman
Hi, > > 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

Re: [PATCH v1 1/1] scsi: ufs: Fix system suspend status

2019-01-09 Thread Stanley Chu
(Add missing maintainers/reviewers) Hi Vinayak, Avri, What would you think about the simple patch as below ? Regards. Thanks. On Mon, 2019-01-07 at 22:19 +0800, stanley@mediatek.com wrote: > From: Stanley Chu > > hba->is_sys_suspended is set after successful system suspend but > not cle

[PATCH v1 1/1] scsi: ufs: Fix system suspend status

2019-01-07 Thread stanley.chu
From: Stanley Chu 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