From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 8 May 2013 05:07:07 +0200 Subject: [U-Boot] [PATCH v4 2/2] usb: gadget: add Faraday FOTG210 USB gadget support In-Reply-To: References: <1367907970-11903-1-git-send-email-dantesu@gmail.com> <201305072337.12925.marex@denx.de> Message-ID: <201305080507.07703.marex@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 Dear Kuo-Jung Su, [...] > > Uh, how's this supposed to work? Why don't you just use mdelay(250) with > > those? > > 1. The CFG_CMD_TIMEOUT is used for polling dma or ep0 fifo ready, > put a permanent delay (i.e. mdelay()) here would slow down the > overall performance. Understood > 2. The CFG_RST_TIMEOUT is used for polling chip reset or fifo reset. > It's definitely O.K to replace it with a permanent delay, so I'll > do it later Agreed, nice to see we're getting real close with this patchset. [...] Best regards, Marek Vasut