summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBin Liu <b-liu@ti.com>2015-11-13 22:45:24 +0100
committerFelipe Balbi <balbi@ti.com>2015-11-17 18:35:49 +0100
commit51676c8d6daac6dd11f768cb26db8d5b572f65b4 (patch)
treec285788edf8425ee2cd5bdc4105fba6d6c9b4564 /drivers
parentusb: phy: phy-mxs-usb: fix a possible NULL dereference (diff)
downloadlinux-51676c8d6daac6dd11f768cb26db8d5b572f65b4.tar.xz
linux-51676c8d6daac6dd11f768cb26db8d5b572f65b4.zip
usb: musb: enable usb_dma parameter
Change the permission of usb_dma parameter so it can be used for runtime debug without reboot. Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/musb/musb_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 3de9087ecad4..18cfc0a361cb 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -1668,7 +1668,7 @@ EXPORT_SYMBOL_GPL(musb_interrupt);
static bool use_dma = 1;
/* "modprobe ... use_dma=0" etc */
-module_param(use_dma, bool, 0);
+module_param(use_dma, bool, 0644);
MODULE_PARM_DESC(use_dma, "enable/disable use of DMA");
void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit)