linux/drivers/media/usb/au0828
Mauro Carvalho Chehab 64ea37bbd8 [media] au0828: Only alt setting logic when needed
It seems that there's a bug at au0828 hardware/firmware
related to alternate setting: when the device is already at
alt 5, a further call causes the URBs to receive -ESHUTDOWN.

I found two different encarnations of this issue:

1) at qv4l2, it fails the second time we try to open the
video screen;
2) at xawtv, when audio underrun occurs, with is very
frequent, at least on my test machine.

The fix is simple: just check if alt=5 before calling
set_usb_interface().

Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-06-19 13:32:03 -03:00
..
au0828-cards.c [media] au0828: fix i2c clock speed for DViCO FusionHDTV7 2014-03-11 12:14:39 -03:00
au0828-cards.h
au0828-core.c [media] au0828: Add option to preallocate digital transfer buffers 2014-01-13 11:11:11 -02:00
au0828-dvb.c [media] au0828-dvb: restore its permission to 644 2014-06-04 15:19:36 -03:00
au0828-i2c.c [media] au0828: Replace memcpy with struct assignment 2012-12-27 18:49:44 -02:00
au0828-reg.h
au0828-vbi.c
au0828-video.c [media] au0828: Only alt setting logic when needed 2014-06-19 13:32:03 -03:00
au0828.h [media] au0828: reset streaming when a new frequency is set 2014-05-25 17:50:02 -03:00
Kconfig [media] au0828: add missing tuner Kconfig dependency 2014-06-19 13:16:49 -03:00
Makefile [media] au0828: remove forced dependency of VIDEO_AU0828 on VIDEO_V4L2 2012-12-17 14:31:26 -02:00