]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: fix leakage during link off state
authorYaniv Gardi <ygardi@codeaurora.org>
Thu, 10 Mar 2016 15:37:17 +0000 (17:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2016 01:04:45 +0000 (21:04 -0400)
commit09e25963072b5d6f610bc0d15e3923e2f8780bfe
treecdbccfacd6c75642f58604762df1421ebef820ac
parentc6325892641f07874f064c9914bf378595863225
scsi: ufs: fix leakage during link off state

Currently when we try to put the link in off/disabled state during
suspend, it seems link is not being kept in low power mode.
This patch fixes the issue by putting the link in hibern8 first
(so device also puts the link in low power mode) and then stop the
host controller.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c