From: Hans Verkuil Date: Sat, 21 Jun 2008 16:23:27 +0000 (-0300) Subject: V4L/DVB (8092): videodev: simplify and fix standard enumeration X-Git-Tag: v2.6.26-rc9~91^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fa8e6fa1519194fc0c931f40d530fb55137bad9;p=pandora-kernel.git V4L/DVB (8092): videodev: simplify and fix standard enumeration VIDIOC_ENUMSTD did not return all the PAL/SECAM/NTSC variants: it just returned one single PAL/SECAM/NTSC standard without separate entries for the trickier standards like NTSC-JP. Changed the code so that it behaves better. Also simplified the if/switch statements into a common standards lookup table. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed