kernel-ark/drivers/scsi/ufs
Dolev Raviv 233b594bdf scsi: ufs: fix static checker errors in ufshcd_system_suspend
This patch fixes newly introduced sparse warning in
ufshcd_system_suspend, introduced by UFS power management series.

Sparse warning:
drivers/scsi/ufs/ufshcd.c:5118 ufshcd_system_suspend()
error: we previously assumed 'hba' could be null (see line 5089)

To fix it, we return 0 in case HBA is not initialized or is
not powered.

Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Reviewed-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-11-20 17:47:41 +01:00
..
Kconfig ufs: Add support for clock scaling using devfreq framework 2014-10-01 13:11:25 +02:00
Makefile [SCSI] ufs: Add Platform glue driver for ufshcd 2013-05-02 16:16:50 -07:00
ufs.h ufs: add UFS power management support 2014-10-01 13:11:23 +02:00
ufshcd-pci.c ufs: add UFS power management support 2014-10-01 13:11:23 +02:00
ufshcd-pltfrm.c ufs: Add freq-table-hz property for UFS device 2014-10-01 13:11:25 +02:00
ufshcd.c scsi: ufs: fix static checker errors in ufshcd_system_suspend 2014-11-20 17:47:41 +01:00
ufshcd.h ufs: fix reference counting of W-LUs 2014-11-20 17:01:31 +01:00
ufshci.h ufs: add UFS power management support 2014-10-01 13:11:23 +02:00
unipro.h ufs: definitions for phy interface 2014-10-01 13:11:26 +02:00