From: Michael Grzeschik Date: Sat, 30 Mar 2013 10:54:08 +0000 (+0200) Subject: usb: chipidea: udc: don't truncate requests to single tds X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24dcade163753259ddcbf77018b1244d7d90ed6b;p=pandora-kernel.git 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 Signed-off-by: Michael Grzeschik Signed-off-by: Alexander Shishkin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed