]> git.sur5r.net Git - u-boot/commit
usb: musb: change rxcsr register from write to read/modify/write
authorBryan Wu <bryan.wu@analog.com>
Thu, 17 Dec 2009 03:04:01 +0000 (22:04 -0500)
committerRemy Bohmer <linux@bohmer.net>
Sat, 9 Jan 2010 09:25:09 +0000 (10:25 +0100)
commitbc72a919e037782f64e3ac45c91bc60408e57e85
tree7dfa44613a88935e9c3c7c080ff74570e6c1db6f
parent8868fd443b7a52bf433903cc9527403ad055acb9
usb: musb: change rxcsr register from write to read/modify/write

The RX Control/Status register has bits that we want to preserve, so don't
just write out a single bit.  Preserve the others bits in the process.

The original code posted to the u-boot list had this behavior, but looks
like it was lost somewhere along the way to merging.

Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
drivers/usb/musb/musb_hcd.c