summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx231xx/cx231xx-cards.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-30 00:20:26 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2009-03-30 00:20:26 +0200
commit6584af2799555f05b6545f667d94f780cbb24a1c (patch)
tree5a28b4aa034ade289d316d9cbc9ef58120449394 /linux/drivers/media/video/cx231xx/cx231xx-cards.c
parentc7f462c7cd345d35a4d2e493c82f589c6e5d1d2d (diff)
downloadmediapointer-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/cx231xx/cx231xx-cards.c')
-rw-r--r--linux/drivers/media/video/cx231xx/cx231xx-cards.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx231xx/cx231xx-cards.c b/linux/drivers/media/video/cx231xx/cx231xx-cards.c
index d1872988a..8d445775e 100644
--- a/linux/drivers/media/video/cx231xx/cx231xx-cards.c
+++ b/linux/drivers/media/video/cx231xx/cx231xx-cards.c
@@ -317,7 +317,7 @@ void cx231xx_card_setup(struct cx231xx *dev)
"cx25840", "cx25840", 0x88 >> 1);
if (dev->sd_cx25840 == NULL)
cx231xx_info("cx25840 subdev registration failure\n");
- cx25840_call(dev, core, init, 0);
+ cx25840_call(dev, core, load_fw);
}