summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/uvc/uvcvideo.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-05-12 18:57:53 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-30 12:12:15 -0300
commit37f85b276a36b531234992b05eb057841af46fb4 (patch)
treec077d309dc7e2186ba576c2df01a87bad938a8ed /drivers/media/usb/uvc/uvcvideo.h
parent7195f61b801104add6453e1d8a39d5c8366fc446 (diff)
downloadblackbird-obmc-linux-37f85b276a36b531234992b05eb057841af46fb4.tar.gz
blackbird-obmc-linux-37f85b276a36b531234992b05eb057841af46fb4.zip
[media] uvcvideo: Fix incorrect bandwidth with Chicony device 04f2:b50b
The "TOSHIBA Web Camera - 5M" Chicony device (04f2:b50b) seems to compute the bandwidth on 16 bits and erroneously sign-extend it to 32 bits, resulting in a huge bandwidth value. Detect and fix that condition by setting the 16 MSBs to 0 when they're all equal to 1. Reported-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/uvc/uvcvideo.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud