From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 05 Mar 2016 02:22:14 +0100 Subject: [U-Boot] [PATCHv2] usb: dwc2: disable erroneous overcurrent condition In-Reply-To: <1457139424-8780-1-git-send-email-dinguyen@opensource.altera.com> References: <1457139424-8780-1-git-send-email-dinguyen@opensource.altera.com> Message-ID: <56DA34C6.5090609@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/05/2016 01:57 AM, dinguyen at opensource.altera.com wrote: > From: Dinh Nguyen > > 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 > --- > v2: consolidate bit OR into a single line Applied, thanks! Best regards, Marek Vasut