[SCSI] ufs: add operation for the uic power mode change
authorSeungwon Jeon <tgih.jun@samsung.com>
Sat, 31 Aug 2013 16:10:22 +0000 (21:40 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 6 Sep 2013 23:06:40 +0000 (16:06 -0700)
commit53b3d9c3fdda94d14392dd221c67e24700b1fed6
treea5198f3de41a71b6f2461fbf9687289254e0eaae
parent12b4fdb4f6bccb5459a2f75fbe0eab253bfceab4
[SCSI] ufs: add operation for the uic power mode change

Setting PA_PWRMode using DME_SET triggers the power mode
change. And then the result will be given by the HCS.UPMCRS.
This operation should be done atomically.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Tested-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h
drivers/scsi/ufs/ufshci.h
drivers/scsi/ufs/unipro.h [new file with mode: 0644]