]> git.karo-electronics.de Git - karo-tx-linux.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, 3 Oct 2013 09:25:04 +0000 (10:25 +0100)
commit4c9ad10593928765d7fe4cc08d4c051d6ef5e1ae
treeabfadd70974a1f24bc4584166b6abdcbc76a2b30
parent7106a44011d76df1f7a8b878c7b79523e38c699f
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