--- zzzz-none-000/linux-3.10.107/drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c 2021-02-04 17:41:59.000000000 +0000 @@ -421,7 +421,7 @@ /* Number of pixels counted by the sensor when subsampling the pixels. * Slightly larger than the real value to avoid oscillation */ - totalpixels = gspca_dev->width * gspca_dev->height; + totalpixels = gspca_dev->pixfmt.width * gspca_dev->pixfmt.height; totalpixels = totalpixels/(8*8) + totalpixels/(64*64); brightpixels = (totalpixels * val) >> 8;