mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 10:34:55 +08:00
e44694e858
Basically, ->vbus_session() calls should be served when VBUS session starts and ends (it's not whenever transciever drivers detect VBUS _changes_). Otherwise, if UDC gadget drivers don't want for some reason ->vbus_session() calls with the same "is_active" value, either OTG or UDC drivers need to have some protection handlings. Also, on platforms using this 'gpio_vbus' driver, the driver is only allowed to check whether VBUS is applied. There is no kernel-standard way prepared for UDC gadget drivers to do that. With this in mind, gpio_vbus should try to prevent unnecessary consecutive vbus_session calls being served with the same "in_active" value. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
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 | ||
nop-usb-xceiv.c | ||
otg_fsm.c | ||
otg_fsm.h | ||
otg.c | ||
twl4030-usb.c | ||
twl6030-usb.c | ||
ulpi_viewport.c | ||
ulpi.c |