From 6160123617ff570a3661aec2bc66ef8ca8daffdf Mon Sep 17 00:00:00 2001 From: hgchu Date: Fri, 12 Jan 2018 14:50:33 +0900 Subject: [PATCH] scsi: ufs: set 4KB alignment for UFS FFU Change-Id: I940459a3f3c45ef446968a4e028ef000261cf91a Signed-off-by: hgchu --- drivers/scsi/ufs/ufshcd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 9a671dbc5084..ec3ac029f7cd 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -4597,6 +4597,8 @@ static int ufshcd_slave_alloc(struct scsi_device *sdev) blk_queue_softirq_done(sdev->request_queue, ufshcd_done); + blk_queue_update_dma_alignment(sdev->request_queue, PAGE_SIZE - 1); + return 0; } -- 2.20.1