diff options
Diffstat (limited to 'linux/drivers/media/video/msp3400.c')
-rw-r--r-- | linux/drivers/media/video/msp3400.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linux/drivers/media/video/msp3400.c b/linux/drivers/media/video/msp3400.c index b9b7dc238..42b9ec14c 100644 --- a/linux/drivers/media/video/msp3400.c +++ b/linux/drivers/media/video/msp3400.c @@ -1204,7 +1204,7 @@ static void msp34xxg_set_source(struct i2c_client *client, int source); static int msp34xxg_init(struct i2c_client *client) { struct msp3400c *msp = i2c_get_clientdata(client); - int modus; + int modus,std; if (msp3400c_reset(client)) return -1; @@ -1218,6 +1218,7 @@ static int msp34xxg_init(struct i2c_client *client) /* step-by-step initialisation, as described in the manual */ modus = msp34xx_modus(msp->norm); + std = msp34xx_standard(msp->norm); modus &= ~0x03; /* STATUS_CHANGE=0 */ modus |= 0x01; /* AUTOMATIC_SOUND_DETECTION=1 */ if (msp3400c_write(client, @@ -1225,6 +1226,11 @@ static int msp34xxg_init(struct i2c_client *client) 0x30/*MODUS*/, modus)) return -1; + if (msp3400c_write(client, + I2C_MSP3400C_DEM, + 0x20/*stanard*/, + std)) + return -1; /* write the dfps that may have an influence on standard/audio autodetection right now */ |