scsi: ufs: introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk
authorKiwoong Kim <kwmad.kim@samsung.com>
Tue, 4 Apr 2017 19:32:05 +0000 (19:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Apr 2017 10:41:16 +0000 (12:41 +0200)
commit9b41ed79ec780817a1293d0cc10d7bf11846d1da
treebea8c1985561c8322fee32011253034bd8a0b586
parent26cbe162df3d0282e5108711663b8dcdafb1ad33
scsi: ufs: introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk

[ Upstream commit 75b1cc4ad63afa28c1a045b5157c008f405f06a9 ]

Some UFS host controllers may think granularities of PRDT length and
offset as bytes, not double words.

Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h