linux-stable/drivers/usb/musb
Tony Lindgren 98827105d8 usb: musb: Get rid of omap2430_musb_set_vbus()
Now that we've removed direct calls from interrupt handler to
omap2430_musb_set_vbus(), let's make things less confusing and
configure VBUS directly in omap_musb_set_mailbox().

We have omap_musb_set_mailbox() called from the PHYs, and that's
all we need.

Note that we can now also drop the check for MUSB_INTERFACE_UTMI,
we've been already calling otg_set_vbus(musb->xceiv->otg, 0)
unconditionally via omap2430_musb_set_vbus() and we should only
need to call it once.

And we want to disable VBUS unconditionally on disconnect even
without musb->gadget_driver, so let's drop that check too.

Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200115132547.364-11-b-liu@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-15 14:46:56 +01:00
..
am35x.c usb: musb: remove references to default_a of struct usb_otg 2018-05-22 12:03:25 +02:00
cppi_dma.c
cppi_dma.h
da8xx.c usb: musb: remove an unused variable 2018-05-31 12:44:39 +02:00
davinci.c usb: musb: remove references to default_a of struct usb_otg 2018-05-22 12:03:25 +02:00
davinci.h
jz4740.c usb: musb: jz4740: Silence error if code is -EPROBE_DEFER 2019-12-30 19:54:57 +01:00
Kconfig usb: musb: jz4740: Drop dependency on NOP_USB_XCEIV 2020-01-15 14:46:54 +01:00
Makefile
musb_am335x.c
musb_core.c usb: musb: Add musb_set_host and peripheral and use them for omap2430 2020-01-15 14:46:55 +01:00
musb_core.h usb: musb: Add musb_set_host and peripheral and use them for omap2430 2020-01-15 14:46:55 +01:00
musb_cppi41.c usb: musb: remove duplicated quirks flag 2018-05-22 12:03:24 +02:00
musb_debug.h USB: musb: clean up debugfs file and directory creation 2018-05-31 12:54:21 +02:00
musb_debugfs.c usb: musb: create debugfs directory under usb root 2019-11-21 18:20:29 +01:00
musb_dma.h usb: musb: remove duplicated quirks flag 2018-05-22 12:03:24 +02:00
musb_dsps.c usb: musb: dsps: create debugfs directory under usb root 2019-11-14 11:16:35 +08:00
musb_gadget.c usb: Spelling s/enpoint/endpoint/ 2019-11-04 15:53:00 +01:00
musb_gadget.h usb: musb: gadget: fix to_musb_ep() to not return NULL 2018-05-22 12:03:25 +02:00
musb_gadget_ep0.c
musb_host.c usb: add a HCD_DMA flag instead of guestimating DMA capabilities 2019-08-21 10:03:35 -07:00
musb_host.h
musb_io.h usb: musb: remove duplicated quirks flag 2018-05-22 12:03:24 +02:00
musb_regs.h usb: musb: remove some register access wrapper functions 2018-05-22 12:03:24 +02:00
musb_trace.c
musb_trace.h
musb_virthub.c usb: musb: remove duplicated port mode enum 2018-05-22 12:03:25 +02:00
musbhsdma.c usb: musb: dma: Correct parameter passed to IRQ handler 2019-12-30 19:54:57 +01:00
omap2430.c usb: musb: Get rid of omap2430_musb_set_vbus() 2020-01-15 14:46:56 +01:00
omap2430.h
sunxi.c usb: musb: sunxi: propagate devicetree node to glue pdev 2020-01-15 14:46:54 +01:00
tusb6010.c
tusb6010.h
tusb6010_omap.c
ux500.c usb: musb: remove references to default_a of struct usb_otg 2018-05-22 12:03:25 +02:00
ux500_dma.c