linux/drivers/usb/otg
Marc Kleine-Budde 1dd03d8a51 usb: otg: use try_module_get in all usb_get_phy functions and add missing module_put
In patch "5d3c28b usb: otg: add device tree support to otg library"
devm_usb_get_phy_by_phandle() was added. It uses try_module_get() to lock the
phy driver in memory. The corresponding module_put() is missing in that patch.

This patch adds try_module_get() to usb_get_phy() and usb_get_phy_dev().
Further the missing module_put() is added to usb_put_phy().

Tested-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Reviewed-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-04 09:33:30 +02:00
..
ab8500-usb.c
fsl_otg.c
fsl_otg.h
gpio_vbus.c
isp1301_omap.c
Kconfig
Makefile
msm_otg.c
mv_otg.c usb: xceiv: patches for v3.9 merge window 2013-01-25 09:09:46 -08:00
mv_otg.h
mxs-phy.c USB patches for 3.9-rc1 2013-02-21 12:20:00 -08:00
nop-usb-xceiv.c
otg_fsm.c
otg_fsm.h
otg.c usb: otg: use try_module_get in all usb_get_phy functions and add missing module_put 2013-03-04 09:33:30 +02:00
twl4030-usb.c usb: musb: omap: make use of the new PHY lib APIs 2013-01-25 13:03:09 +02:00
twl6030-usb.c
ulpi_viewport.c
ulpi.c