diff options
-rw-r--r-- | linux/drivers/media/video/tda9887.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c index 850d89b12..22b640cab 100644 --- a/linux/drivers/media/video/tda9887.c +++ b/linux/drivers/media/video/tda9887.c @@ -629,7 +629,7 @@ static int tda9887_attach(struct i2c_adapter *adap, int addr, t->std = 0; t->pinnacle_id = UNSET; t->radio_mode = V4L2_TUNER_MODE_STEREO; - + i2c_set_clientdata(&t->client, t); i2c_attach_client(&t->client); @@ -642,7 +642,7 @@ static int tda9887_attach(struct i2c_adapter *adap, int addr, static int tda9887_probe(struct i2c_adapter *adap) { #ifdef I2C_CLASS_TV_ANALOG - if (adap->class & I2C_CLASS_TV_ANALOG) + if (adap->class & I2C_CLASS_TV_ANALOG) return i2c_probe(adap, &addr_data, tda9887_attach); #else switch (adap->id) { @@ -685,7 +685,7 @@ tda9887_command(struct i2c_client *client, unsigned int cmd, void *arg) /* --- configuration --- */ case AUDC_SET_RADIO: t->radio = 1; - tda9887_configure(t); + tda9887_configure(t); break; case AUDC_CONFIG_PINNACLE: |