Re: [PATCH] usb: musb: enable usb_dma parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 11/13/2015 06:57 PM, Greg KH wrote:
On Fri, Nov 13, 2015 at 03:45:24PM -0600, Bin Liu wrote:
Change the permission of usb_dma parameter so it can be used for runtime
debug without reboot.

Why would you want to do that?  This is only used at init time, so if
you change it while the driver is running, I don't think you will
actually affect anything.

During debug, I want to run with CPPI enabled or disabled without reboot the board to load different kernel image.

With this patch, I can archive this by

- unbind musb_hdrc
- change usb_dma param
- bind musb_hdrc


Have you tested this out?

Yes, I did and it works for me.

Regards,
-Bin.


thanks,

greg k-h

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux