]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: cppi41: allow it to work again
authorFelipe Balbi <balbi@ti.com>
Thu, 6 Aug 2015 15:51:29 +0000 (10:51 -0500)
committerFelipe Balbi <balbi@ti.com>
Thu, 6 Aug 2015 15:51:29 +0000 (10:51 -0500)
commitf7cb79b8348d445a561af1c0c8f83596a514e75f
tree6b7a661a89049655059fb35faf2b837f4bfdd424
parentee824e5dc5f1d3cb700b853f4a4a0dd9002b760e
usb: musb: cppi41: allow it to work again

since commit 1d468744737f ("usb: musb: dsps:
don't fake of_node to musb core") we have been
preventing CPPI 4.1 from probing due to NULL
of_node. We can't revert said commit otherwise
a different regression would show up, so the fix
is to look for the parent device's (glue layer's)
of_node instead, since that's the thing which
is actually described in DTS.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_cppi41.c