diff options
author | Andy Walls <awalls@md.metrocast.net> | 2010-07-18 23:26:29 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-08 23:42:55 -0300 |
commit | d6b1850d3c49e66f17bbb67f964a48b11528f56b (patch) | |
tree | 03a541a2306dbe0b097ba1fd420f5b6d5bd63fee /drivers/media/video/cx23885/cx23885-cards.c | |
parent | 52fd3dda130d03ae5c2bbdcbe81f6e083c051e12 (diff) | |
download | blackbird-op-linux-d6b1850d3c49e66f17bbb67f964a48b11528f56b.tar.gz blackbird-op-linux-d6b1850d3c49e66f17bbb67f964a48b11528f56b.zip |
V4L/DVB: cx23885: Add a v4l2_subdev group id for the CX2388[578] integrated AV core
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-cards.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index e9586743692b..b083e5dfb715 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c @@ -1192,7 +1192,10 @@ void cx23885_card_setup(struct cx23885_dev *dev) dev->sd_cx25840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_bus[2].i2c_adap, "cx25840", "cx25840", 0x88 >> 1, NULL); - v4l2_subdev_call(dev->sd_cx25840, core, load_fw); + if (dev->sd_cx25840) { + dev->sd_cx25840->grp_id = CX23885_HW_AV_CORE; + v4l2_subdev_call(dev->sd_cx25840, core, load_fw); + } break; } |