summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-06-14 17:40:37 +0200
committerHans de Goede <hdegoede@redhat.com>2015-07-25 11:22:55 +0200
commit71cbe0d681d4288d090a404273ce6b0c1c14b617 (patch)
treea603b63d897f5ab5b8be7031a143f2558e70c4af /arch/arm/include/asm
parentb41972e7d17fb920cc50db5b363209685b1251e5 (diff)
sunxi: musb: Add id pin support
When in host mode check if there is a host cable inserted into the otg port by checking the id pin. If there is no host cable return an error to make usb_lowlevel_init() exit early, rather then waiting for 1 second for a device which will never show up. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/include/asm')
0 files changed, 0 insertions, 0 deletions