From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 20 Dec 2013 12:22:20 +0100 Subject: [U-Boot] [PATCH v2 0/2] usb: gadget: fotg210: workaround & new hardware support In-Reply-To: <1387513980-2052-1-git-send-email-dantesu@gmail.com> References: <1387351489-2008-1-git-send-email-dantesu@gmail.com> <1387513980-2052-1-git-send-email-dantesu@gmail.com> Message-ID: <201312201222.20929.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 On Friday, December 20, 2013 at 05:32:58 AM, Kuo-Jung Su wrote: > From: Kuo-Jung Su > > 1. It's known that EP0 fifo empty indication is not reliable, an extra > delay is necessary to avoid data corruption while handling packets with > size greater than 64 bytes. > > 2. Since hardware revision 1.11.0, some fields of interrupt status > registers are now write-1-clear. > > Changes for v2: > - usb: gadget: fotg210: add w1c interrupt status support: > By writting 1 then 0 to get rid of the use of > CONFIG_USB_GADGET_FOTG210_ISRW1C. > Thanks for Marek's comments. > - usb: gadget: fotg210: EP0 fifo empty indication is non-reliable > udelay_masked() -> udelay(), and patch comment updates. > > Kuo-Jung Su (2): > usb: gadget: fotg210: add w1c interrupt status support > usb: gadget: fotg210: EP0 fifo empty indication is non-reliable > > drivers/usb/gadget/fotg210.c | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) Applied both , thanks! btw. is this FOTG210 stuff used by any platform or is this just a dead code ? Best regards, Marek Vasut