]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: musb: dsps: don't fake of_node to musb core
authorFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 15:42:12 +0000 (10:42 -0500)
committerFelipe Balbi <balbi@ti.com>
Wed, 11 Mar 2015 15:19:35 +0000 (10:19 -0500)
If we pass our own of_node to musb_core, at least
pinctrl settings will be duplicated, meaning that
pinctrl framework will try to select default pin
state for musb_core when they were already requested
by musb-dsps.

A Warning will be printed however things will still
work.

Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c

index a528d3be70c56dec3efbc368723b8a73a2fd6ce7..09648b4e40c2f08e7bf8bd719ec5b1794cb2451c 100644 (file)
@@ -697,7 +697,6 @@ static int dsps_create_musb_pdev(struct dsps_glue *glue,
        musb->dev.parent                = dev;
        musb->dev.dma_mask              = &musb_dmamask;
        musb->dev.coherent_dma_mask     = musb_dmamask;
-       musb->dev.of_node               = of_node_get(dn);
 
        glue->musb = musb;