diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-i2c.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-i2c.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88-i2c.c b/drivers/media/video/cx88/cx88-i2c.c index c8b1c50625f4..937497c86247 100644 --- a/drivers/media/video/cx88/cx88-i2c.c +++ b/drivers/media/video/cx88/cx88-i2c.c | |||
@@ -127,8 +127,14 @@ static int attach_inform(struct i2c_client *client) | |||
127 | } | 127 | } |
128 | } | 128 | } |
129 | 129 | ||
130 | if (core->board.tda9887_conf) | 130 | if (core->board.tda9887_conf) { |
131 | client->driver->command(client, TDA9887_SET_CONFIG, &core->board.tda9887_conf); | 131 | struct v4l2_priv_tun_config tda9887_cfg; |
132 | |||
133 | tda9887_cfg.tuner = TUNER_TDA9887; | ||
134 | tda9887_cfg.priv = &core->board.tda9887_conf; | ||
135 | |||
136 | client->driver->command(client, TUNER_SET_CONFIG, &tda9887_cfg); | ||
137 | } | ||
132 | return 0; | 138 | return 0; |
133 | } | 139 | } |
134 | 140 | ||