[media] it913x add retry to USB bulk endpoints and IO
authorMalcolm Priestley <tvboxspy@gmail.com>
Thu, 1 Dec 2011 20:35:48 +0000 (17:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Dec 2011 11:12:21 +0000 (09:12 -0200)
commit15157c506d742b6767edcd486d6c73ea907fb7cf
tree3667eba5c03228a925e9a716e6ad1fba6eb41314
parent7330f7c157308166c507da9b9926107d85f960d3
[media] it913x add retry to USB bulk endpoints and IO

This a bus repeater for it913x devices. Commands usually fail because of other
activity on the USB bus.

Bulk failures that report -ETIMEDOUT or -EBUSY are repeated.

Enpoints that return actlen not equal len request -EAGAIN.

The retry is set at 10.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/it913x.c