summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@broadcom.com>2017-08-22 15:26:59 +0530
committerVinod Koul <vinod.koul@intel.com>2017-08-28 16:44:24 +0530
commiteb67744b9af736073d6dffb7fb139f3f05d7e6a8 (patch)
treeda12ca14aa9536541246be94489b987aa6bb9050 /lib/mpi/mpiutil.c
parentf83385142c3a0864e4ac82d852dd0fdb54742ce3 (diff)
dmaengine: bcm-sba-raid: Alloc resources before registering DMA device
We should allocate DMA channel resources before registering the DMA device in sba_probe() because we can get DMA request soon after registering the DMA device. If DMA channel resources are not allocated before first DMA request then SBA-RAID driver will crash. Signed-off-by: Anup Patel <anup.patel@broadcom.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions