commit | eb67744b9af736073d6dffb7fb139f3f05d7e6a8 | [log] [tgz] |
---|---|---|
author | Anup Patel <anup.patel@broadcom.com> | Tue Aug 22 15:26:59 2017 +0530 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Aug 28 16:44:24 2017 +0530 |
tree | da12ca14aa9536541246be94489b987aa6bb9050 | |
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>