linux/drivers/usb/otg
Shinya Kuribayashi e44694e858 USB: gpio_vbus: avoid consecutive vbus_session calls with the same "is_active"
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>
2012-05-14 09:02:23 -07:00
..
ab8500-usb.c usb: otg: ab8500-usb: make probe() work again 2012-03-02 16:22:11 -08:00
fsl_otg.c usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
fsl_otg.h usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
gpio_vbus.c USB: gpio_vbus: avoid consecutive vbus_session calls with the same "is_active" 2012-05-14 09:02:23 -07:00
isp1301_omap.c usb: otg: isp1301_omap: Start using struct usb_otg 2012-02-13 13:35:34 +02:00
Kconfig Here we have a big rework done by Heikki Krogerus (thanks) which 2012-03-01 08:45:33 -08:00
Makefile usb: otg: kill langwell_otg driver 2012-01-24 15:41:51 +02:00
msm_otg.c usb: otg: msm: Start using struct usb_otg 2012-02-13 13:35:38 +02:00
mv_otg.c usb: otg: mv_otg: Start using struct usb_otg 2012-02-27 15:41:22 +02:00
mv_otg.h usb: otg: mv_otg: Start using struct usb_otg 2012-02-27 15:41:22 +02:00
nop-usb-xceiv.c usb: otg: nop: Start using struct usb_otg 2012-02-13 13:35:41 +02:00
otg_fsm.c usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
otg_fsm.h usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
otg.c usb: otg: Separate otg members from usb_phy 2012-02-13 13:35:06 +02:00
twl4030-usb.c usb: otg: twl4030: Start using struct usb_otg 2012-02-13 13:35:46 +02:00
twl6030-usb.c usb: otg: twl6030: Start using struct usb_otg 2012-02-13 13:35:51 +02:00
ulpi_viewport.c usb: otg: ulpi: Start using struct usb_otg 2012-02-13 13:35:56 +02:00
ulpi.c usb: otg: ulpi: Start using struct usb_otg 2012-02-13 13:35:56 +02:00