diff options
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 5 | ||||
-rw-r--r-- | drivers/media/video/cx23885/cx23885.h | 3 |
2 files changed, 6 insertions, 2 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) | |||
1192 | dev->sd_cx25840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, | 1192 | dev->sd_cx25840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, |
1193 | &dev->i2c_bus[2].i2c_adap, | 1193 | &dev->i2c_bus[2].i2c_adap, |
1194 | "cx25840", "cx25840", 0x88 >> 1, NULL); | 1194 | "cx25840", "cx25840", 0x88 >> 1, NULL); |
1195 | v4l2_subdev_call(dev->sd_cx25840, core, load_fw); | 1195 | if (dev->sd_cx25840) { |
1196 | dev->sd_cx25840->grp_id = CX23885_HW_AV_CORE; | ||
1197 | v4l2_subdev_call(dev->sd_cx25840, core, load_fw); | ||
1198 | } | ||
1196 | break; | 1199 | break; |
1197 | } | 1200 | } |
1198 | 1201 | ||
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885/cx23885.h index a33f2b71467b..460f430d028f 100644 --- a/drivers/media/video/cx23885/cx23885.h +++ b/drivers/media/video/cx23885/cx23885.h | |||
@@ -403,7 +403,8 @@ static inline struct cx23885_dev *to_cx23885(struct v4l2_device *v4l2_dev) | |||
403 | #define call_all(dev, o, f, args...) \ | 403 | #define call_all(dev, o, f, args...) \ |
404 | v4l2_device_call_all(&dev->v4l2_dev, 0, o, f, ##args) | 404 | v4l2_device_call_all(&dev->v4l2_dev, 0, o, f, ##args) |
405 | 405 | ||
406 | #define CX23885_HW_888_IR (1 << 0) | 406 | #define CX23885_HW_888_IR (1 << 0) |
407 | #define CX23885_HW_AV_CORE (1 << 1) | ||
407 | 408 | ||
408 | #define call_hw(dev, grpid, o, f, args...) \ | 409 | #define call_hw(dev, grpid, o, f, args...) \ |
409 | v4l2_device_call_all(&dev->v4l2_dev, grpid, o, f, ##args) | 410 | v4l2_device_call_all(&dev->v4l2_dev, grpid, o, f, ##args) |