mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 02:50:53 +07:00
1dd03d8a51
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> |
||
---|---|---|
.. | ||
ab8500-usb.c | ||
fsl_otg.c | ||
fsl_otg.h | ||
gpio_vbus.c | ||
isp1301_omap.c | ||
Kconfig | ||
Makefile | ||
msm_otg.c | ||
mv_otg.c | ||
mv_otg.h | ||
mxs-phy.c | ||
nop-usb-xceiv.c | ||
otg_fsm.c | ||
otg_fsm.h | ||
otg.c | ||
twl4030-usb.c | ||
twl6030-usb.c | ||
ulpi_viewport.c | ||
ulpi.c |