diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-06-08 13:54:57 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-06-19 13:32:03 -0300 |
commit | 64ea37bbd8a5815522706f0099ad3f11c7537e15 (patch) | |
tree | ea6ce352af1e6828b9ab27326fbd8170fc9e8a51 /drivers/scsi/qlogicpti.h | |
parent | f2fd7ce6f2dbf286fd07fb82109599df741b57d3 (diff) | |
download | linux-64ea37bbd8a5815522706f0099ad3f11c7537e15.tar.bz2 |
[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>
Diffstat (limited to 'drivers/scsi/qlogicpti.h')
0 files changed, 0 insertions, 0 deletions