diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-30 00:20:26 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-30 00:20:26 +0200 |
commit | 6584af2799555f05b6545f667d94f780cbb24a1c (patch) | |
tree | 5a28b4aa034ade289d316d9cbc9ef58120449394 /linux/drivers/media/video/cx23885/cx23885-cards.c | |
parent | c7f462c7cd345d35a4d2e493c82f589c6e5d1d2d (diff) | |
download | mediapointer-dvb-s2-6584af2799555f05b6545f667d94f780cbb24a1c.tar.gz mediapointer-dvb-s2-6584af2799555f05b6545f667d94f780cbb24a1c.tar.bz2 |
v4l2-subdev: add load_fw and use that instead of abusing core->init.
From: Hans Verkuil <hverkuil@xs4all.nl>
The init callback was used in several places to load firmware. Make a separate
load_fw callback for that. This makes the code a lot more understandable.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx23885/cx23885-cards.c')
-rw-r--r-- | linux/drivers/media/video/cx23885/cx23885-cards.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-cards.c b/linux/drivers/media/video/cx23885/cx23885-cards.c index 493551ec0..c85678464 100644 --- a/linux/drivers/media/video/cx23885/cx23885-cards.c +++ b/linux/drivers/media/video/cx23885/cx23885-cards.c @@ -742,7 +742,7 @@ void cx23885_card_setup(struct cx23885_dev *dev) case CX23885_BOARD_NETUP_DUAL_DVBS2_CI: dev->sd_cx25840 = v4l2_i2c_new_subdev(&dev->i2c_bus[2].i2c_adap, "cx25840", "cx25840", 0x88 >> 1); - v4l2_subdev_call(dev->sd_cx25840, core, init, 0); + v4l2_subdev_call(dev->sd_cx25840, core, load_fw); break; } |