diff options
author | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-15 19:01:53 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:28 -0400 |
commit | 2689d3dcc6c75c0b4a05b66330db85df2c036d3e (patch) | |
tree | f97c0181d6fd325dc039ea907e517994de48c63e /drivers/media/video/au0828/au0828-cards.c | |
parent | dd27ade7a9195cb3b1f56df4d0ec39763830390b (diff) |
V4L/DVB (11088): au0828: finish videodev/subdev conversion
Per Hans Verkuil <hverkuil@xs4all.nl> instruction, remove the deprecated
attach_inform/detach_inform routines, and convert over the i2c calls to
subdev calls.
Thanks to Hans Verkuil <hverkuil@xs4all.nl> for providing feedback on the
au0828 analog support.
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828/au0828-cards.c')
-rw-r--r-- | drivers/media/video/au0828/au0828-cards.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/au0828/au0828-cards.c b/drivers/media/video/au0828/au0828-cards.c index 1b48eb58a161..1aabaa7e55bb 100644 --- a/drivers/media/video/au0828/au0828-cards.c +++ b/drivers/media/video/au0828/au0828-cards.c | |||
@@ -218,7 +218,8 @@ void au0828_card_setup(struct au0828_dev *dev) | |||
218 | tun_setup.type = dev->board.tuner_type; | 218 | tun_setup.type = dev->board.tuner_type; |
219 | tun_setup.addr = dev->board.tuner_addr; | 219 | tun_setup.addr = dev->board.tuner_addr; |
220 | tun_setup.tuner_callback = au0828_tuner_callback; | 220 | tun_setup.tuner_callback = au0828_tuner_callback; |
221 | au0828_call_i2c_clients(dev, TUNER_SET_TYPE_ADDR, &tun_setup); | 221 | v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_type_addr, |
222 | &tun_setup); | ||
222 | } | 223 | } |
223 | } | 224 | } |
224 | 225 | ||