]> git.baikalelectronics.ru Git - kernel.git/commit
media: bttv: Fixed oops error when capturing at yuv410p
authorSamuel Williams <sam8641@gmail.com>
Sun, 1 Apr 2018 15:00:27 +0000 (11:00 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 19:27:31 +0000 (15:27 -0400)
commit65375b92092b949d40ff7d7b8353cab393cd2373
tree92852828b7428ff680a0ed0f378561a95f4f930a
parentd66495b5da95afeab6ab0f3de665471b296d8f0c
media: bttv: Fixed oops error when capturing at yuv410p

When capturing at yuv410p, sg_next was called too many times when chroma is
false, eventually returning NULL. This patch does fix this for my hardware.

Signed-off-by: Samuel Williams <sam8641@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/bt8xx/bttv-risc.c