summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorShinya Kuribayashi <shinya.kuribayashi.px@renesas.com>2012-05-10 10:31:21 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-01 15:18:21 +0800
commit658b069b7c6b5d91cd89a24dde34ec91918f6e25 (patch)
treee6a56718eaffb05a88d7251f2684d42bbc373a11 /drivers/misc
parentada3a3d0cb75f4cb015a2521badcffcf6d16ba45 (diff)
USB: gpio_vbus: provide an appropriate debounce interval
commit 934ccec4da14dc0586dfe08b36166364bdd2181b upstream. In commit c2344f13b59e007d782a3e591ebc551bc583a8b7 (USB: gpio_vbus: add delayed vbus_session calls, 2009-01-24), usb_gadget_vbus_connect() and ...disconnect() were extracted from the interrupt handler, so to allow vbus_session handlers to deal with msleep() calls. This patch takes the approach one step further. USB2.0 specification (7.1.7.3 Connect and Disconnect Signaling) says that the USB system software (shall) provide a debounce interval with a minimum duration of 100 ms, which ensures that the electrical and mechanical connection is stable before software attempts to reset the attached device. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions