diff options
author | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-11 07:01:01 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 17:43:26 +0200 |
commit | 220be77c6e4302207c34afc78a98b4994f92f6e5 (patch) | |
tree | 718563a237cfe56fb495d195092929446a1e725e /fs/jfs/jfs_superblock.h | |
parent | V4L/DVB (11077): au0828: properly handle missing analog USB endpoint (diff) | |
download | linux-220be77c6e4302207c34afc78a98b4994f92f6e5.tar.xz linux-220be77c6e4302207c34afc78a98b4994f92f6e5.zip |
V4L/DVB (11078): au0828: properly handle non-existent analog inputs
It is not valid to look for dev->board.input == NULL to detect an undefined
analog configuration section, since it is a member of the struct and not a
pointer (hence it will *always* be non-NULL). Do the check based on whether
the first input is actually a valid input type instead.
Thanks to Michael Krufky <mkrufky@linuxtv.org> for providing sample hardware
of various configurations to test with.
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'fs/jfs/jfs_superblock.h')
0 files changed, 0 insertions, 0 deletions