diff options
Diffstat (limited to 'linux/drivers/media/video/tda9887.c')
-rw-r--r-- | linux/drivers/media/video/tda9887.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c index 6f2e4516d..dc3ad44cc 100644 --- a/linux/drivers/media/video/tda9887.c +++ b/linux/drivers/media/video/tda9887.c @@ -401,7 +401,7 @@ static int tda9887_set_insmod(struct tda9887 *t, char *buf) else buf[1] &= ~cQSS; } - + if (adjust >= 0x00 && adjust < 0x20) buf[2] |= adjust; return 0; @@ -521,7 +521,7 @@ static int tda9887_status(struct tda9887 *t) { unsigned char buf[1]; int rc; - + memset(buf,0,sizeof(buf)); if (1 != (rc = i2c_master_recv(&t->client,buf,1))) printk(PREFIX "i2c i/o error: rc == %d (should be 1)\n",rc); @@ -586,7 +586,7 @@ static int tda9887_attach(struct i2c_adapter *adap, int addr, t->pinnacle_id = UNSET; i2c_set_clientdata(&t->client, t); i2c_attach_client(&t->client); - + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) MOD_INC_USE_COUNT; #endif @@ -641,7 +641,7 @@ tda9887_command(struct i2c_client *client, unsigned int cmd, void *arg) t->radio = 1; tda9887_configure(t); break; - + case AUDC_CONFIG_PINNACLE: { int *i = arg; |