diff options
author | Anup Patel <anup.patel@broadcom.com> | 2017-08-22 15:26:59 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-08-28 16:44:24 +0530 |
commit | eb67744b9af736073d6dffb7fb139f3f05d7e6a8 (patch) | |
tree | da12ca14aa9536541246be94489b987aa6bb9050 /lib/mpi/mpiutil.c | |
parent | f83385142c3a0864e4ac82d852dd0fdb54742ce3 (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