Re: [PATCH] MUSB: Fix index register corruption seen with g_ether and Windows host

2008-08-21 Thread Felipe Balbi
On Thu, Aug 21, 2008 at 08:21:00PM +0530, ext Gadiyar, Anand wrote: > From: Anand Gadiyar <[EMAIL PROTECTED]> > > If Indexed Mode register accesses are enabled, the ep0_rxstate() > function calls musb_g_ep0_giveback() before writing to the CSR > register. When control returns to this ep0_rxstate,

[PATCH] MUSB: Fix index register corruption seen with g_ether and Windows host

2008-08-21 Thread Gadiyar, Anand
From: Anand Gadiyar <[EMAIL PROTECTED]> If Indexed Mode register accesses are enabled, the ep0_rxstate() function calls musb_g_ep0_giveback() before writing to the CSR register. When control returns to this ep0_rxstate, the index register contents are over-written. This causes the CSR register wri