commit | c77fbfb9436d4a7f8af2b92f2cd376a921f39c06 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Jun 14 17:40:37 2015 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Sat Jul 25 11:22:55 2015 +0200 |
tree | a603b63d897f5ab5b8be7031a143f2558e70c4af | |
parent | c93ecd0e1cf4b26561f3894dfec1488424caaeaf [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>