dmaengine: bcm-sba-raid: Reduce locking context in sba_alloc_request()
authorAnup Patel <anup.patel@broadcom.com>
Tue, 22 Aug 2017 09:56:51 +0000 (15:26 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 28 Aug 2017 11:14:24 +0000 (16:44 +0530)
commite4274cfa422b50c5b74434f4f23d9163626a01f4
treead1c4c74f1e71acd17e3d9b00c95f4a89e85a425
parente897091ab9e022a1adb98ba56dfc5a8d9600f6c4
dmaengine: bcm-sba-raid: Reduce locking context in sba_alloc_request()

We don't require to hold "sba->reqs_lock" for long-time
in sba_alloc_request() because lock protection is not
required when initializing members of "struct sba_request".

Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/bcm-sba-raid.c