Commit b5af6738 authored by Bart Van Assche's avatar Bart Van Assche Committed by Alistair Delva
Browse files

ANDROID: scsi: ufs: Exynos: Fix DMA alignment for PAGE_SIZE != 4096



The Exynos UFS controller only supports scatter/gather list elements
that are aligned on a 4 KiB boundary. Fix DMA alignment in case
PAGE_SIZE != 4096. Rename UFSHCD_QUIRK_ALIGN_SG_WITH_PAGE_SIZE into
UFSHCD_QUIRK_4KB_DMA.

Bug: 262756365
Cc: Kiwoong Kim <kwmad.kim@samsung.com>
Fixes: 2b2bfc8a ("scsi: ufs: Introduce a quirk to allow only page-aligned sg entries")
Change-Id: Ia636b4f51730e4c13c543c5a7c88fa599eacf4d4
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
parent 16bdd199
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment