linux/drivers/scsi/ufs
subhashj@codeaurora.org c5fc946a15 scsi: ufs: issue link starup 2 times if device isn't active
[ Upstream commit 7caf489b99 ]

If we issue the link startup to the device while its UniPro state is
LinkDown (and device state is sleep/power-down) then link startup
will not move the device state to Active. Device will only move to
active state if the link starup is issued when its UniPro state is
LinkUp. So in this case, we would have to issue the link startup 2
times to make sure that device moves to active state.

Reviewed-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-04-12 12:41:19 +02:00
..
Kconfig scsi: ufs: Kconfig fix 2016-09-29 21:57:08 -04:00
Makefile ufs: add TC G210 pci driver 2016-07-12 23:16:31 -04:00
tc-dwc-g210-pci.c ufs: add TC G210 pci driver 2016-07-12 23:16:31 -04:00
tc-dwc-g210-pltfrm.c ufs: add TC G210 platform driver 2016-07-12 23:16:31 -04:00
tc-dwc-g210.c scsi: ufs: Add missing header dependencies for tc-dwc-g210 2016-09-04 01:28:08 -04:00
tc-dwc-g210.h ufs: add support for Synopsys G210 Test Chip 2016-07-12 23:16:31 -04:00
ufs-qcom.c scsi: ufs: add quirk to increase host PA_SaveConfigTime 2017-04-12 12:41:17 +02:00
ufs-qcom.h scsi: ufs: add quirk to increase host PA_SaveConfigTime 2017-04-12 12:41:17 +02:00
ufs.h scsi: ufs: Get a TM service response from the correct offset 2016-09-21 16:28:57 -04:00
ufs_quirks.h scsi: ufs: add quirk to increase host PA_SaveConfigTime 2017-04-12 12:41:17 +02:00
ufshcd-dwc.c ufs: Adding license info do tc-dwc-g210 and ufshcd-dwc to enable loadable module 2016-07-12 23:16:31 -04:00
ufshcd-dwc.h ufs: add support for DesignWare Controller 2016-07-12 23:16:31 -04:00
ufshcd-pci.c SCSI / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM 2014-12-15 15:11:06 +01:00
ufshcd-pltfrm.c ufs: fixed typo in ufshcd-pltfrm 2016-07-12 23:16:31 -04:00
ufshcd-pltfrm.h scsi: ufs: make the UFS variant a platform device 2015-11-09 18:00:02 -05:00
ufshcd.c scsi: ufs: issue link starup 2 times if device isn't active 2017-04-12 12:41:19 +02:00
ufshcd.h scsi: ufs: add quirk to increase host PA_SaveConfigTime 2017-04-12 12:41:17 +02:00
ufshci-dwc.h ufs: add support for DesignWare Controller 2016-07-12 23:16:31 -04:00
ufshci.h ufs: add link status to ufshci 2016-07-12 23:16:31 -04:00
unipro.h scsi: ufs: ensure that host pa_tactivate is higher than device 2017-04-12 12:41:17 +02:00