scsi: ufs: set 4KB alignment for UFS FFU
authorhgchu <hg.chu@samsung.com>
Fri, 12 Jan 2018 05:50:33 +0000 (14:50 +0900)
committerJaeHun Jung <jh0801.jung@samsung.com>
Tue, 8 May 2018 08:20:33 +0000 (17:20 +0900)
Change-Id: I940459a3f3c45ef446968a4e028ef000261cf91a
Signed-off-by: hgchu <hg.chu@samsung.com>
drivers/scsi/ufs/ufshcd.c

index 9a671dbc50846527448ba8bfae8084cd3cde3cae..ec3ac029f7cd20ff5e984961f1b6f73651871c00 100644 (file)
@@ -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;
 }