X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fhauke.git;a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fpatches-4.4%2F930-chipidea-pullup.patch;h=d43e8c7dc528b7f22279bc95a5b8315cc2ae576e;hp=23b8e86aac086150cfb4af6c23e8c035bb2c7592;hb=e77fa68f1fd76bf08229645f95fb2dcf07b6b9e2;hpb=34b153d7adc0aa9c34db75a5d324bf03c4159b4b diff --git a/target/linux/ar71xx/patches-4.4/930-chipidea-pullup.patch b/target/linux/ar71xx/patches-4.4/930-chipidea-pullup.patch index 23b8e86aac..d43e8c7dc5 100644 --- a/target/linux/ar71xx/patches-4.4/930-chipidea-pullup.patch +++ b/target/linux/ar71xx/patches-4.4/930-chipidea-pullup.patch @@ -58,7 +58,7 @@ return; + } - if (hw_read_otgsc(ci, OTGSC_BSV)) + if (hw_read_otgsc(ci, OTGSC_BSV) && !ci->vbus_active) usb_gadget_vbus_connect(&ci->gadget); --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h