scsi: ufs: introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk

[ Upstream commit 75b1cc4ad6 ]

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>
This commit is contained in:
Kiwoong Kim 2017-04-04 19:32:05 +00:00 • committed by Greg Kroah-Hartman
commit 9b41ed79ec
2 changed files with 27 additions and 7 deletions