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>
Showing
- configs/Ippo_q8h_v1_2_a33_1024x600_defconfig 1 addition, 0 deletionsconfigs/Ippo_q8h_v1_2_a33_1024x600_defconfig
- configs/Ippo_q8h_v1_2_defconfig 1 addition, 0 deletionsconfigs/Ippo_q8h_v1_2_defconfig
- configs/Ippo_q8h_v5_defconfig 1 addition, 0 deletionsconfigs/Ippo_q8h_v5_defconfig
- drivers/usb/musb-new/sunxi.c 5 additions, 0 deletionsdrivers/usb/musb-new/sunxi.c
Loading
Please register or sign in to comment