From: Hans Verkuil Date: Sat, 14 Feb 2009 22:58:33 +0000 (-0300) Subject: V4L: ivtv: fix decoder crash regression X-Git-Tag: v2.6.27.20~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1252e72a3fc324dc381956a4231ceb91425329b3;p=pandora-kernel.git V4L: ivtv: fix decoder crash regression (cherry picked from commit ac9575f75c52bcb455120f8c43376b556acba048) The video_ioctl2 conversion of ivtv in kernel 2.6.27 introduced a bug causing decoder commands to crash. The decoder commands should have been handled from the video_ioctl2 default handler, ensuring correct mapping of the argument between user and kernel space. Unfortunately they ended up before the video_ioctl2 call, causing random crashes. Thanks to hannes@linus.priv.at for testing and helping me track down the cause! Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Michael Krufky Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed