V4L/DVB (7279): ivtv: Add missing sg_init_table()
authorIan Armstrong <ian@iarmst.demon.co.uk>
Tue, 26 Feb 2008 19:09:00 +0000 (16:09 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 20 Mar 2008 15:38:59 +0000 (12:38 -0300)
commit165e1213e13b49761f8b3fd9314701f83cf3db3a
treefa0d95213458762e1a3f1498fb0e582078d1f6c8
parentc030f5e697af1127002a0aeffcd259f9bcff5471
V4L/DVB (7279): ivtv: Add missing sg_init_table()

If a dma transfer is attempted for either yuv or framebuffer output, a missing
sg_init_table() call causes a kernel BUG in scatterlist.h if CONFIG_DEBUG_SG
is set.

Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-driver.c