diff options
author | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-11 02:01:01 -0400 |
---|---|---|
committer | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-11 02:01:01 -0400 |
commit | 3f7bd4e3eef22d1416780db3ae3300c16bc21961 (patch) | |
tree | 187b6a24a87d379e0aaa84d9a1de894002828b79 /linux/drivers/media/video/videobuf-vmalloc.c | |
parent | 954299a93e6d076c844770136c359f48049b3d88 (diff) | |
download | mediapointer-dvb-s2-3f7bd4e3eef22d1416780db3ae3300c16bc21961.tar.gz mediapointer-dvb-s2-3f7bd4e3eef22d1416780db3ae3300c16bc21961.tar.bz2 |
au0828: properly handle non-existent analog inputs
From: Devin Heitmueller <dheitmueller@linuxtv.org>
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.
Priority: normal
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/videobuf-vmalloc.c')
0 files changed, 0 insertions, 0 deletions