diff options
author | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-11 02:01:00 -0400 |
---|---|---|
committer | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-11 02:01:00 -0400 |
commit | 954299a93e6d076c844770136c359f48049b3d88 (patch) | |
tree | 32083f36b2321805b491e09bf8573a3355119226 /linux/drivers/media/video/au0828/au0828.h | |
parent | 66833094069d442ee8db6a6a95d59c6598335302 (diff) | |
download | mediapointer-dvb-s2-954299a93e6d076c844770136c359f48049b3d88.tar.gz mediapointer-dvb-s2-954299a93e6d076c844770136c359f48049b3d88.tar.bz2 |
au0828: properly handle missing analog USB endpoint
From: Devin Heitmueller <dheitmueller@linuxtv.org>
Move the setup of the analog isoc handler into au0828-video.c, so it does not
occur if there is not an .input section defined for the board. Also fixes a
case where if there is an input section but the board does not actually have
analog support, the digital support will continue to work as expected.
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/au0828/au0828.h')
-rw-r--r-- | linux/drivers/media/video/au0828/au0828.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/au0828/au0828.h b/linux/drivers/media/video/au0828/au0828.h index 2f48ec213..d2e54c8e1 100644 --- a/linux/drivers/media/video/au0828/au0828.h +++ b/linux/drivers/media/video/au0828/au0828.h @@ -273,7 +273,8 @@ extern void au0828_call_i2c_clients(struct au0828_dev *dev, /* ----------------------------------------------------------- */ /* au0828-video.c */ -int au0828_analog_register(struct au0828_dev *dev); +int au0828_analog_register(struct au0828_dev *dev, + struct usb_interface *interface); int au0828_analog_stream_disable(struct au0828_dev *d); void au0828_analog_unregister(struct au0828_dev *dev); |