From: Sergei Shtylyov Date: Sat, 21 Feb 2009 23:31:13 +0000 (-0800) Subject: USB: musb: fix data toggle saving with shared FIFO X-Git-Tag: v2.6.29-rc7~22^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51d9f3e100a8f8cc2be89d5f13d37de61e2da38a;p=pandora-kernel.git USB: musb: fix data toggle saving with shared FIFO For some strange reason the host side musb_giveback() decides that it's always got an IN transfer when the hardware endpoint is using a shared FIFO. This causes musb_save_toggle() to read the toggle state from the RXCSR register instead of TXCSR, and may also cause unneeded reloading of RX endpoint registers. Signed-off-by: Sergei Shtylyov Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed