From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Tue, 29 May 2012 16:18:09 -0600 Subject: [U-Boot] [PATCH 3/3] tegra: usb: fix wrong error check In-Reply-To: <1338328033-8597-3-git-send-email-dev@lynxeye.de> References: <1338328033-8597-1-git-send-email-dev@lynxeye.de> <1338328033-8597-3-git-send-email-dev@lynxeye.de> Message-ID: <4FC54B21.30007@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/29/2012 03:47 PM, Lucas Stach wrote: > Just stumbled upon this, while looking through the usb code. loop_count > runs down from 10000, so the correct condition to error out is ==0. The code change is probably fine, but it'd be better if the commit description stated just what was being changed and why, rather than being conversational. Acked-by: Stephen Warren