]> git.baikalelectronics.ru Git - 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)
commit6060574b90e9afebe43f98414071c86b264f48ca
tree6e243b990d46e75b9cd3a77b7736828f15bdea37
parent9fe7d6de51d4558d6092004ac1a45a55b5e092f3
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