]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: do not change dev's dma_mask
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 22 Jul 2013 18:10:04 +0000 (20:10 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:58:16 +0000 (13:58 +0300)
commita15953ca97b5f67c57abcca82cd1faf9c923a416
tree32667855dd4286bd4721045a48451a069a00c6cb
parent746f726b776ef3239f37d878239e4b2896627684
usb: musb: do not change dev's dma_mask

Commit a99a44a ("usb: musb: kill global and static for multi instance")
removed the global dma_mask copy and replaced by parent's DMA mask. The
problem here is that if the parent does not have a dma_mask then
musb_remove() goes kaboom.
Instead trying to fix this I was thinking we do we need to erase
dma_mask in the first place?

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c