diff options
Diffstat (limited to 'drivers/usb/musb/ux500_dma.c')
-rw-r--r-- | drivers/usb/musb/ux500_dma.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/musb/ux500_dma.c b/drivers/usb/musb/ux500_dma.c index 3700e9713258..9aad00f11bd5 100644 --- a/drivers/usb/musb/ux500_dma.c +++ b/drivers/usb/musb/ux500_dma.c | |||
@@ -336,7 +336,9 @@ static int ux500_dma_controller_start(struct ux500_dma_controller *controller) | |||
336 | data ? | 336 | data ? |
337 | data->dma_filter : | 337 | data->dma_filter : |
338 | NULL, | 338 | NULL, |
339 | param_array[ch_num]); | 339 | param_array ? |
340 | param_array[ch_num] : | ||
341 | NULL); | ||
340 | 342 | ||
341 | if (!ux500_channel->dma_chan) { | 343 | if (!ux500_channel->dma_chan) { |
342 | ERR("Dma pipe allocation error dir=%d ch=%d\n", | 344 | ERR("Dma pipe allocation error dir=%d ch=%d\n", |