diff options
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-i2c.c')
-rw-r--r-- | linux/drivers/media/video/ivtv/ivtv-i2c.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-i2c.c b/linux/drivers/media/video/ivtv/ivtv-i2c.c index 624650520..1e4c9b0f6 100644 --- a/linux/drivers/media/video/ivtv/ivtv-i2c.c +++ b/linux/drivers/media/video/ivtv/ivtv-i2c.c @@ -65,6 +65,9 @@ #include "ivtv-i2c.h" #include <media/ir-kbd-i2c.h> +#ifdef CONFIG_XC3028 +#include "tuner/tuner-stub.h" +#endif /* i2c implementation for cx23415/6 chip, ivtv project. * Author: Kevin Thayer (nufan_wfk at yahoo.com) @@ -705,6 +708,11 @@ void ivtv_call_i2c_clients(struct ivtv *itv, unsigned int cmd, void *arg) return; } i2c_clients_command(&itv->i2c_adap, cmd, arg); + if (itv->tunerid) { +#ifdef CONFIG_XC3028 + tuner_v4l_cmd(itv->tunerid, cmd, arg); +#endif + } if (itv->hw_flags & IVTV_HW_GPIO) ivtv_gpio(itv, cmd, arg); } |