This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/drivers/usb/musb
Anand Gadiyar fb85d99161 MUSB: Fix index register corruption seen with g_ether and Windows host
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
write to fail.

Fixed by writing the correct value into the index register before
writing to the CSR.

This was observed only in ep0_rxstate() with g_ether loaded and
the device connected to a MS Windows host PC. Anticipatively fixed
ep0_txstate() as well.

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-08-21 10:26:34 -07:00
..
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-21 10:26:33 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00
2008-08-13 17:33:00 -07:00