Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] pwc: Fix codec1 cameras no longer working

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Hans de Goede and committed by
Mauro Carvalho Chehab
bb969707 2b34e9d1

+2
+2
drivers/media/usb/pwc/pwc-ctrl.c
··· 179 179 return -EINVAL; 180 180 if (frames < 4) 181 181 frames = 4; 182 + else if (size > PSZ_QCIF && frames > 15) 183 + frames = 15; 182 184 else if (frames > 25) 183 185 frames = 25; 184 186 frames = frames2frames[frames];