[SCSI] ufs: Set fDeviceInit flag to initiate device initialization
authorDolev Raviv <draviv@codeaurora.org>
Mon, 29 Jul 2013 19:05:58 +0000 (00:35 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 26 Aug 2013 08:51:25 +0000 (12:51 +0400)
commit68078d5cc1a59b2ddfc6982c67308f20f991426a
tree9fe1fee824c92ff6eacfcb0ebc9f1f39e683966d
parent5a0b0cb9bee767ef10ff9ce2fb4141af06416288
[SCSI] ufs: Set fDeviceInit flag to initiate device initialization

Allow UFS device to complete its initialization and accept
SCSI commands by setting fDeviceInit flag. The device may take
time for this operation and hence the host should poll until
fDeviceInit flag is toggled to zero. This step is mandated by
UFS device specification for device initialization completion.

Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ufs/ufs.h
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h
drivers/scsi/ufs/ufshci.h