]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
scsi: ufs: introduce UFSHCD_QUIRK_DME_PEER_ACCESS_AUTO_MODE quirk
authorYaniv Gardi <ygardi@codeaurora.org>
Sun, 17 May 2015 15:55:03 +0000 (18:55 +0300)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 2 Jun 2015 20:17:34 +0000 (13:17 -0700)
commit874237f7f2aae61d166613cc191238d8335087f8
tree3032d63c16e92edaecabe33ec82898dffcc0a36d
parent8163743e23035dd2e2ab531878517137033d62bf
scsi: ufs: introduce UFSHCD_QUIRK_DME_PEER_ACCESS_AUTO_MODE quirk

Some UFS host controllers may only allow accessing the peer DME attribute
in AUTO mode (FAST AUTO or SLOW AUTO) hence we had added a quirk for
switching to AUTO power mode before accessing the peer DME attribute.

Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h