Re: [PATCH -next] scsi: ufs: fix configuring power mode after UIC link down

2014-10-06 Thread Akinobu Mita
Hi Subhash, 2014-10-06 7:38 GMT+09:00 Subhash Jadavani subha...@codeaurora.org: Hi Akinobu, Thanks for the patch. After you reported the issue, I was looking through our driver to make sure that why this issue was not catched and in fact it's already have a fix internally and it was yet to

[PATCH -next] scsi: ufs: fix configuring power mode after UIC link down

2014-10-05 Thread Akinobu Mita
If the UFS Power management level 5 is chosen, the UIC link is down during suspend. And the power mode should be configured again during resume. Unfortunately, it will not be configured because ufshcd_change_power_mode() tries to avoid unnecessary power mode change if the requested power mode