diff options
Diffstat (limited to 'drivers/media/video/tda7432.c')
-rw-r--r-- | drivers/media/video/tda7432.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/tda7432.c b/drivers/media/video/tda7432.c index 255b6088ebf9..14cf1d357c3b 100644 --- a/drivers/media/video/tda7432.c +++ b/drivers/media/video/tda7432.c | |||
@@ -310,9 +310,9 @@ static int tda7432_attach(struct i2c_adapter *adap, int addr, int kind) | |||
310 | memset(t,0,sizeof *t); | 310 | memset(t,0,sizeof *t); |
311 | 311 | ||
312 | client = &t->c; | 312 | client = &t->c; |
313 | memcpy(client,&client_template,sizeof(struct i2c_client)); | 313 | memcpy(client,&client_template,sizeof(struct i2c_client)); |
314 | client->adapter = adap; | 314 | client->adapter = adap; |
315 | client->addr = addr; | 315 | client->addr = addr; |
316 | i2c_set_clientdata(client, t); | 316 | i2c_set_clientdata(client, t); |
317 | 317 | ||
318 | do_tda7432_init(client); | 318 | do_tda7432_init(client); |
@@ -472,7 +472,7 @@ static int tda7432_command(struct i2c_client *client, | |||
472 | } | 472 | } |
473 | } | 473 | } |
474 | 474 | ||
475 | t->muted=(va->flags & VIDEO_AUDIO_MUTE); | 475 | t->muted=(va->flags & VIDEO_AUDIO_MUTE); |
476 | if (t->muted) | 476 | if (t->muted) |
477 | { | 477 | { |
478 | /* Mute & update balance*/ | 478 | /* Mute & update balance*/ |
@@ -503,12 +503,12 @@ static int tda7432_command(struct i2c_client *client, | |||
503 | 503 | ||
504 | static struct i2c_driver driver = { | 504 | static struct i2c_driver driver = { |
505 | .owner = THIS_MODULE, | 505 | .owner = THIS_MODULE, |
506 | .name = "i2c tda7432 driver", | 506 | .name = "i2c tda7432 driver", |
507 | .id = I2C_DRIVERID_TDA7432, | 507 | .id = I2C_DRIVERID_TDA7432, |
508 | .flags = I2C_DF_NOTIFY, | 508 | .flags = I2C_DF_NOTIFY, |
509 | .attach_adapter = tda7432_probe, | 509 | .attach_adapter = tda7432_probe, |
510 | .detach_client = tda7432_detach, | 510 | .detach_client = tda7432_detach, |
511 | .command = tda7432_command, | 511 | .command = tda7432_command, |
512 | }; | 512 | }; |
513 | 513 | ||
514 | static struct i2c_client client_template = | 514 | static struct i2c_client client_template = |