commit | 24dcade163753259ddcbf77018b1244d7d90ed6b | [log] [tgz] |
---|---|---|
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | Sat Mar 30 12:54:08 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Mar 30 08:20:48 2013 -0700 |
tree | e500e8008b9a95372a61ffba2f3bb6447e45d8bf | |
parent | 9e5064384a69e6dac15e3ba8590355ec844e47b5 [diff] |
usb: chipidea: udc: don't truncate requests to single tds It is not safe to truncate requests to the maximum possible size the controller can handle with one td and to keep working. That patch fixes that with proper error handling instead. Reported-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>