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:Bart Van Assche <bvanassche@acm.org>
Loading
Please sign in to comment