diff --git a/sound/soc/codecs/tas2562-codec.c b/sound/soc/codecs/tas2562-codec.c index bdf1bf4c5b06..19597fd0d00d 100644 --- a/sound/soc/codecs/tas2562-codec.c +++ b/sound/soc/codecs/tas2562-codec.c @@ -973,7 +973,7 @@ static int tas2562_load_init(struct tas2562_priv *p_tas2562) #endif ret = p_tas2562->write(p_tas2562, channel_both, - TAS2562_MISCCONFIGURATIONREG0, 0xcf); + TAS2562_MISCCONFIGURATIONREG0, 0xc7); if (ret < 0) return ret; if(p_tas2562->mn_channels == 2) { diff --git a/sound/soc/codecs/tas2562-regmap.c b/sound/soc/codecs/tas2562-regmap.c index 286fa7874026..66e2861e65f2 100644 --- a/sound/soc/codecs/tas2562-regmap.c +++ b/sound/soc/codecs/tas2562-regmap.c @@ -590,7 +590,7 @@ static void irq_work_routine(struct work_struct *work) goto reload; dev_dbg(p_tas2562->dev, "IRQ status : 0x%x, 0x%x, 0x%x, 0x%x\n", - nDevInt3Status, nDevInt4Status, + nDevInt1Status, nDevInt2Status, nDevInt3Status, nDevInt4Status); if (((nDevInt1Status & 0x7) != 0) @@ -749,12 +749,12 @@ static void irq_work_routine(struct work_struct *work) p_tas2562->mn_err_code &= ~ERROR_CLASSD_PWR; } - n_result = p_tas2562->write(p_tas2562, channel_left, + n_result = p_tas2562->write(p_tas2562, channel_both, TAS2562_INTERRUPTMASKREG0, 0xf8); if (n_result < 0) goto reload; - n_result = p_tas2562->write(p_tas2562, channel_left, + n_result = p_tas2562->write(p_tas2562, channel_both, TAS2562_INTERRUPTMASKREG1, 0xb1); if (n_result < 0) goto reload; @@ -1037,7 +1037,7 @@ static int tas2562_i2c_probe(struct i2c_client *p_client, } gpio_direction_input(p_tas2562->mn_irq_gpio); tas2562_dev_write(p_tas2562, channel_both, - TAS2562_MISCCONFIGURATIONREG0, 0xce); + TAS2562_MISCCONFIGURATIONREG0, 0xc6); p_tas2562->mn_irq = gpio_to_irq(p_tas2562->mn_irq_gpio); dev_info(p_tas2562->dev, "irq = %d\n", p_tas2562->mn_irq); @@ -1064,7 +1064,7 @@ static int tas2562_i2c_probe(struct i2c_client *p_client, } gpio_direction_input(p_tas2562->mn_irq_gpio2); tas2562_dev_write(p_tas2562, channel_both, - TAS2562_MISCCONFIGURATIONREG0, 0xce); + TAS2562_MISCCONFIGURATIONREG0, 0xc6); p_tas2562->mn_irq2 = gpio_to_irq(p_tas2562->mn_irq_gpio2); dev_info(p_tas2562->dev, "irq = %d\n", p_tas2562->mn_irq2);