usb: musb: enable usb_dma parameter
authorBin Liu <b-liu@ti.com>
Fri, 13 Nov 2015 21:45:24 +0000 (15:45 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 17 Nov 2015 17:35:49 +0000 (11:35 -0600)
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>
drivers/usb/musb/musb_core.c

index 3de9087ecad46705d21b4ca88a281d02bf590cec..18cfc0a361cb340612bdf943d79a6302694afc43 100644 (file)
@@ -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)