This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Bug in linux-04.04.00.02/drivers/media/video/ti81xx/ti81xxvin_main.c

In the function ti81xxvin_check_format( ... ) a "break" is missing.

599         switch (pixfmt->pixelformat) {
600         case V4L2_PIX_FMT_YUYV:
601                 min_hpitch = (inst->win.w.width + inst->win.w.left) * 2;
602                 min_numlines = height;
603                 break;
604         case V4L2_PIX_FMT_NV12:
605                 min_hpitch = inst->win.w.width + inst->win.w.left;
606                 min_numlines = (height * 3) / 2;
607                 break;
608         case V4L2_PIX_FMT_NV16:
609                 min_hpitch = inst->win.w.width + inst->win.w.left;
610                 min_numlines = height * 2;
611                 break;
612         case V4L2_PIX_FMT_RGB24:
613                 min_hpitch = (inst->win.w.width + inst->win.w.left) * 3;
614                 min_numlines = height;
-->                  break;
615         default:
616                 min_hpitch = (inst->win.w.width + inst->win.w.left) * 2;
617                 min_numlines = height;
618         }

The RGB24-pixel needs 3 bytes.