]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: use platform_device_register_full() to avoid directly messing with dma...
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 19 Sep 2013 23:14:38 +0000 (00:14 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Oct 2013 14:31:19 +0000 (09:31 -0500)
commitd8e7a7e4f71d20c30f2c857f40a523ed115f51d7
tree610a8cf402a97addcadea54b19abd4e52ea7c4d7
parentdb9e6dd7bef929b9ad1d3be18240a223f09674ea
usb: musb: use platform_device_register_full() to avoid directly messing with dma masks

Use platform_device_register_full() for those drivers which can, to
avoid messing directly with DMA masks.  This can only be done when
the driver does not need to access the allocated musb platform device
from within its callbacks, which may be called during the musb
device probing.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/am35x.c
drivers/usb/musb/da8xx.c
drivers/usb/musb/davinci.c
drivers/usb/musb/tusb6010.c