ehci: Fail for multi-transaction interrupt transfers
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Thu, 9 Aug 2012 21:50:44 +0000 (23:50 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 1 Sep 2012 14:21:51 +0000 (16:21 +0200)
commit44ae0be7461f0ac72fa53b1a5bcd03c26e1d4fb1
tree5fabb72f12c7c41100b35ea18b22b8cc1ca1aa54
parent93a1ab57f340b890e9e5b48b143869bc063d625f
ehci: Fail for multi-transaction interrupt transfers

Interrupt transfers requiring several transactions are not supported by
submit_int_msg() because bInterval is ignored. This patch returns a failure code
and prints an error message in this case.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Ilya Yanok <ilya.yanok@cogentembedded.com>
Cc: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
drivers/usb/host/ehci-hcd.c