aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2016-09-06 23:36:19 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2016-09-14 12:54:18 -0400
commita6f2c7fff90a6fe7a31e764a21b65a809fafa765 (patch)
tree6867b78c86a632969ce1b5cb2dc74df0809deb11 /drivers/mfd
parent09fe9ecb18a7add9b05928151998692d96338e41 (diff)
downloadlinux-a6f2c7fff90a6fe7a31e764a21b65a809fafa765.tar.gz
scsi: hisi_sas: set dma mask before allocate DMA memory
The device DMA mask was being set after the bulk of the DMA allocations in the driver init, so potentially DMA allocates fail. To resolve, relocate before allocating the DMA memory when initialising the driver. Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions