projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27681ab
)
usb: musb: fail with error when no DMA controller set
author
Aaro Koskinen
<aaro.koskinen@iki.fi>
Mon, 23 Nov 2015 19:50:11 +0000
(21:50 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 9 Dec 2015 15:36:03 +0000
(09:36 -0600)
Fail with error when no DMA controller is set.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_core.c
b/drivers/usb/musb/musb_core.c
index 3c07ffd392cf803378880358476d010a973567b7..ee9ff7028b926b1a7303afb261c3b261f91c9da4 100644
(file)
--- a/
drivers/usb/musb/musb_core.c
+++ b/
drivers/usb/musb/musb_core.c
@@
-2094,6
+2094,7
@@
musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)
#ifndef CONFIG_MUSB_PIO_ONLY
if (!musb->ops->dma_init || !musb->ops->dma_exit) {
dev_err(dev, "DMA controller not set\n");
+ status = -ENODEV;
goto fail2;
}
musb_dma_controller_create = musb->ops->dma_init;