]> git.karo-electronics.de Git - karo-tx-linux.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)
commit63c5b4ca7d0daadf11662d6419eb7a1c0ce42eb7
tree32667855dd4286bd4721045a48451a069a00c6cb
parente9eb2e08d93afc8f334ffe269fc84ea6257ff02c
usb: musb: do not change dev's dma_mask

Commit 8d2421e ("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