android_kernel_lge_bullhead/drivers/scsi/ufs
Gilad Broner cf185a0368 scsi: ufs: fix probe failure masked by crypto engine reset
When ufshcd_host_reset_and_restore() is called, it is possible
that ufshcd_probe_hba() fails and return an error value.
However, the later call to crypto_engine_reset() might succeed
and override the previous error value.
This will result in ufshcd_host_reset_and_restore() returning
success while in fact a serious error may have occured which
should prevent us from continuing in the normal sequence.
Instead, call crypto_engine_reset() only if ufshcd_probe_hba()
was successfull.

Change-Id: I0462f674b8750bfb9e0657cb37833aa2bd2aa4f0
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
2015-05-04 22:45:28 -07:00
..
Kconfig scsi: ufs: add Inline Crypto Engine (ICE) support to UFS 2014-10-27 21:57:45 +02:00
Makefile scsi: ufs-qcom: add print suppressing debugfs mechanism 2015-01-05 17:48:45 +02:00
debugfs.c scsi: ufs: add request completion time statistics 2015-02-09 21:38:50 +02:00
debugfs.h scsi: ufs-qcom: expose debug registers by debugfs 2015-01-05 17:50:00 +02:00
qcom-debugfs.c scsi: ufs-qcom: expose debug registers by debugfs 2015-01-05 17:50:00 +02:00
qcom-debugfs.h scsi: ufs-qcom: add print suppressing debugfs mechanism 2015-01-05 17:48:45 +02:00
ufs-qcom-ice.c scsi: ufs-qcom: add ICE debug prints 2015-01-05 17:49:41 +02:00
ufs-qcom-ice.h scsi: ufs-qcom: add ICE debug prints 2015-01-05 17:49:41 +02:00
ufs-qcom.c scsi: ufs-qcom: expose debug registers by debugfs 2015-01-05 17:50:00 +02:00
ufs_quirks.c scsi: ufs_quirks: remove no link off quirk for Toshiba 2014-11-14 12:22:01 -08:00
ufs_quirks.h scsi: ufs: add quirk for not allowing link off 2014-11-10 12:58:44 -08:00
ufs_test.c Merge "scsi: ufs: use "sector_range" in "ufs_long" unit-tests" 2015-01-14 17:12:35 -08:00
ufshcd-pci.c phy: relocate and rename phy ufs files 2014-09-03 15:31:52 +03:00
ufshcd-pltfrm.c scsi: ufs: define cpu affinity mask for PM QoS voting 2014-11-23 15:07:24 +02:00
ufshcd.c scsi: ufs: fix probe failure masked by crypto engine reset 2015-05-04 22:45:28 -07:00
ufshci.h scsi: ufs: add error recovery after DL NAC error 2014-11-06 20:55:07 -08:00