]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: musb: Add id pin support
authorHans de Goede <hdegoede@redhat.com>
Sun, 14 Jun 2015 15:40:37 +0000 (17:40 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:49:05 +0000 (13:49 +0200)
commit1fb3ea26d99d058741d396e3e86d1e15eba58332
tree78f2796ad65c24b9ab14d878c90c1e4e9dcf958b
parentcac9228104214de3ff93f69072ba989cc6854309
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>
configs/Ippo_q8h_v1_2_a33_1024x600_defconfig
configs/Ippo_q8h_v1_2_defconfig
configs/Ippo_q8h_v5_defconfig
drivers/usb/musb-new/sunxi.c