]> 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)
commita170a5cf24fa5456935b25450743ec20a168f3a8
tree610a8cf402a97addcadea54b19abd4e52ea7c4d7
parent8ae5c0869022421d43bef2b707b498e400e1f937
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