[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)
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>

No differences found