]> git.sur5r.net Git - u-boot/commit
usb: musb: only write CLRDATATOG when appropriate
authorBryan Wu <bryan.wu@analog.com>
Mon, 9 Aug 2010 18:58:24 +0000 (14:58 -0400)
committerRemy Bohmer <linux@bohmer.net>
Wed, 13 Oct 2010 10:08:43 +0000 (12:08 +0200)
commit4ee691f6aced74c30bbe15d9e97313df21037ae3
tree7f2fefb3c4f13f8e3115c08262f3c5de9ae7fc8d
parent99e9ed1f49b31cc7c3b8f5d2c322b2eb26dd2a29
usb: musb: only write CLRDATATOG when appropriate

This is a change similar to what is already in the Linux driver.  We
should only program the CLRDATATOG bit when the current mode indicates
that it is needed.

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>
drivers/usb/musb/musb_hcd.c