summaryrefslogtreecommitdiff
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-03-10 15:42:12 (GMT)
committerFelipe Balbi <balbi@ti.com>2015-03-11 15:19:35 (GMT)
commit33c300cb90a6c0072507a949f78c4728238a81f0 (patch)
treefc87ff45566c2c0d48920c1ab11bacb2721b5084 /drivers/usb/musb
parent983f3cabf6677340dd5b9aec5440b427b8c47ad9 (diff)
downloadlinux-33c300cb90a6c0072507a949f78c4728238a81f0.tar.xz
usb: musb: dsps: don't fake of_node to musb core
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>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/musb_dsps.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index a528d3b..09648b4 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -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;