]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: ufs: core: Move the 4K alignment code into the Exynos driver
authorBart Van Assche <bvanassche@acm.org>
Thu, 21 Sep 2023 19:22:47 +0000 (12:22 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 27 Sep 2023 15:12:50 +0000 (11:12 -0400)
commit858231bdb223916d6fa56fd0278074905cc201c1
tree488bf4eba6192a80c5872f01e2b0124a9f71b041
parentcdaaff61d3bfd61aa3966eb1624e66c4152e6d1d
scsi: ufs: core: Move the 4K alignment code into the Exynos driver

The DMA alignment for the Exynos controller follows directly from the PRDT
segment size configured in ufs-exynos.c. Hence, move the DMA alignment code
into the Exynos driver source code.

Cc: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230921192335.676924-3-bvanassche@acm.org
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c
drivers/ufs/host/ufs-exynos.c
include/ufs/ufshcd.h