commit | 2f2c00be76b5d1a7b004615dc1fa691a6ffe0fdd | [log] [tgz] |
---|---|---|
author | Dinh Nguyen <dinguyen@opensource.altera.com> | Fri Mar 04 18:57:04 2016 -0600 |
committer | Marek Vasut <marex@denx.de> | Sat Mar 05 02:21:36 2016 +0100 |
tree | 6771f5cec4271c7b58375fea745a85bf081771b5 | |
parent | 1257562285ec3ad52903d72eeb5f904179a5fc12 [diff] |
usb: dwc2: disable erroneous overcurrent condition For the case where an external VBUS is used, we should enable the external VBUS comparator in the driver. This would prevent an unnecessary overcurrent error which would then disable the host port. The overcurrent condition was happening on the SoCFPGA Cyclone5 devkit, thus USB was not working on the devkit. This patch fixes that problem. Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>