]> git.baikalelectronics.ru Git - kernel.git/commit
DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing...
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 10 Jun 2013 19:02:35 +0000 (20:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 31 Oct 2013 14:49:12 +0000 (14:49 +0000)
commitf06e73fb512c987f8fd53e2fa4287317fef46ee5
tree6012e513c1d3e916dc9de42b95459ab8afb89786
parent4a5584dc03af2828bcc82d6f9556eb62233f71d7
DMA-API: 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>
drivers/usb/musb/am35x.c
drivers/usb/musb/da8xx.c
drivers/usb/musb/davinci.c
drivers/usb/musb/tusb6010.c