]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
USB: musb: workaround Blackfin FIFO anomalies
authorBryan Wu <cooloney@kernel.org>
Mon, 21 Dec 2009 14:49:52 +0000 (09:49 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Dec 2009 19:34:19 +0000 (11:34 -0800)
commit1c4bdc01b8a5cf6c54e5eb8bf9a727e38f0176cc
tree6e243b990d46e75b9cd3a77b7736828f15bdea37
parent0ea52ff44f7a30781881ca2debf35e47b2676171
USB: musb: workaround Blackfin FIFO anomalies

Some of these workarounds are already in place, but labeled as affecting
all BF52x parts.  Since we have official anomaly numbers now, use those
defines.  And since writing to the FIFO has a similar hang issue as reading
from the FIFO, implement the workaround there too when necessary.

Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/blackfin.c
drivers/usb/musb/blackfin.h