kernel-ark/drivers/usb/musb
Felipe Balbi 63eed2b524 usb: musb: gadget: beautify usb_gadget_probe_driver()/usb_gadget_unregister_driver
Just a few cosmetic fixes to usb_gadget_probe_driver()
and usb_gadget_unregister_driver().

Decreased a few indentation levels with goto statements.

While at that, also add the missing call to musb_stop().
If we don't have OTG, there's no point of leaving
MUSB prepared for operation if a gadget driver fails
to probe. The same is valid for usb_gadget_unregister_driver(),
since we are removing the gadget driver and we don't have
OTG, we can completely unconfigure MUSB.

Signed-off-by: Felipe Balbi <balbi@ti.com>
2011-02-17 21:11:46 +02:00
..
am35x.c musb: am35x: fix compile error due to control apis 2010-12-10 10:21:35 +02:00
blackfin.c usb: musb: disable double buffering when it's broken 2011-02-01 10:41:30 +02:00
blackfin.h
cppi_dma.c usb: musb: add names for IRQs in structure resource 2010-12-01 10:56:33 +02:00
cppi_dma.h
da8xx.c usb: musb: drop board_set_vbus 2010-12-10 10:21:33 +02:00
davinci.c usb: musb: drop board_set_vbus 2010-12-10 10:21:33 +02:00
davinci.h
Kconfig usb: musb: TWL6030: Selecting TWL6030_USB transceiver 2010-12-10 14:45:59 +02:00
Makefile usb: musb: add support for ux500 platform 2010-12-10 10:21:36 +02:00
musb_core.c usb: musb: do not error out if Kconfig doesn't match board mode 2011-02-17 21:11:45 +02:00
musb_core.h usb: musb: disable double buffering when it's broken 2011-02-01 10:41:30 +02:00
musb_debug.h USB: musb: make DBG() calls actually depend on CONFIG_USB_MUSB_DEBUG 2010-10-22 10:21:52 -07:00
musb_debugfs.c headers: kobject.h redux 2011-01-10 08:51:44 -08:00
musb_dma.h usb: musb: introduce api for dma code to check compatibility with usb request 2011-02-01 10:41:30 +02:00
musb_gadget_ep0.c usb: musb: gadget: restart request on clearing endpoint halt 2010-09-24 11:05:01 -07:00
musb_gadget.c usb: musb: gadget: beautify usb_gadget_probe_driver()/usb_gadget_unregister_driver 2011-02-17 21:11:46 +02:00
musb_gadget.h usb: musb: maintain three states for buffer mappings instead of two 2011-02-01 10:41:30 +02:00
musb_host.c Merge 2.6.38-rc5 into usb-next 2011-02-17 09:56:55 -08:00
musb_host.h
musb_io.h usb: musb: add Kconfig options for each glue layer 2010-12-10 10:21:09 +02:00
musb_regs.h Merge branch 'usb-next' into musb-merge 2010-12-16 10:05:06 -08:00
musb_virthub.c usb: musb: make all glue layer export struct musb_platform_ops 2010-12-07 09:19:39 +02:00
musbhsdma.c Merge branch 'usb-next' into musb-merge 2010-12-16 10:05:06 -08:00
musbhsdma.h usb: musb: hsdma: change back to use musb_read/writew 2011-02-01 10:41:30 +02:00
omap2430.c usb: musb: Adding musb support for OMAP4430 2010-12-10 14:56:31 +02:00
omap2430.h
tusb6010_omap.c usb: Fix tusb6010 for DMA API 2010-04-30 09:25:09 -07:00
tusb6010.c usb: musb: move clock handling to glue layer 2010-12-10 10:21:24 +02:00
tusb6010.h
ux500.c usb: musb: add support for ux500 platform 2010-12-10 10:21:36 +02:00