USB: musb: disable double buffering for older RTL versions
authorCliff Cai <cliff.cai@analog.com>
Fri, 29 Jan 2010 01:44:18 +0000 (20:44 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:54:48 +0000 (14:54 -0800)
commit9f445cb29918dc488b7a9a92ef018599cce33df7
tree912365e85cc2b0f75dfc20a011c9d7e2db195362
parent0ded2f146acfaf71e5f4c15b80cf89b3af48134c
USB: musb: disable double buffering for older RTL versions

Trying to use double buffer modes in RTL versions <2.0 may result in
infinite hangs or data corruption.  So avoid them with older versions.

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