]> 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)
commitdb917014b77d17b2eade6491df3d9a5186ab518e
tree92852828b7428ff680a0ed0f378561a95f4f930a
parentcb078861f98bf9b249b91f5e85fbc05c6ec56b67
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