summaryrefslogtreecommitdiff
path: root/include/scsi/scsi_tcq.h
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2012-11-08 14:11:33 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-22 17:55:34 -0200
commitc02ec71b014ea7bc6f50deb9db765bf57d593c53 (patch)
treed912f8c28c09895da71a1aa3e7afbb8c976a1e94 /include/scsi/scsi_tcq.h
parent2f5741aa6a71aea6bc8f186e8753f270ae8742f1 (diff)
[media] em28xx: fix wrong data offset for non-interlaced mode in em28xx_copy_video
em28xx_copy_video uses a wrong offset for the target buffer when copying the data from an USB isoc packet. This happens only for the second and all following lines in the packet. The reason why this bug doesn't cause image corruption with my test device (SilverCrest Webcam 1.3 MPix) is, that this device never sends any packets that cross the end of a line. I don't know if all devices behave like this, so this patch should be considered for stable. With the upcoming patches to add support for USB bulk transfers, em28xx_copy_video will be called once per URB, which will always trigger this bug. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/scsi/scsi_tcq.h')
0 files changed, 0 insertions, 0 deletions