diff options
author | 2008-06-21 13:23:27 -0300 | |
---|---|---|
committer | 2008-06-26 15:58:57 -0300 | |
commit | 7fa8e6fa1519194fc0c931f40d530fb55137bad9 (patch) | |
tree | 252e62177f7424c00d004a32388e6385147dab73 /drivers/usb/class | |
parent | V4L/DVB (8075): stv0299: Uncorrected block count and bit error rate fixed (diff) | |
download | wireguard-linux-7fa8e6fa1519194fc0c931f40d530fb55137bad9.tar.xz wireguard-linux-7fa8e6fa1519194fc0c931f40d530fb55137bad9.zip |
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 <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions