Skip to content

Commit

Permalink
ASoC: nau8824: leave Class D gain at chip default
Browse files Browse the repository at this point in the history
Remove initial configuration of Class D gain for 1R and 2L.
Leave them at the chip default.

Signed-off-by: John Hsu <[email protected]>
Signed-off-by: John Hsu <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
John Hsu authored and broonie committed Apr 30, 2017
1 parent 25535f7 commit c869ce5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sound/soc/codecs/nau8824.c
Original file line number Diff line number Diff line change
Expand Up @@ -1626,12 +1626,6 @@ static void nau8824_init_regs(struct nau8824 *nau8824)
regmap_update_bits(regmap, NAU8824_REG_DAC_FILTER_CTRL_1,
NAU8824_DAC_CICCLP_OFF | NAU8824_DAC_OVERSAMPLE_MASK,
NAU8824_DAC_CICCLP_OFF | NAU8824_DAC_OVERSAMPLE_64);
/* Class D gain 9db for 1R and 2L */
regmap_update_bits(regmap, NAU8824_REG_CLASSD_GAIN_1,
NAU8824_CLASSD_GAIN_1R_MASK,
(0xa << NAU8824_CLASSD_GAIN_1R_SFT));
regmap_update_bits(regmap, NAU8824_REG_CLASSD_GAIN_2,
NAU8824_CLASSD_GAIN_2L_MASK, 0xa);
/* DAC clock delay 2ns, VREF */
regmap_update_bits(regmap, NAU8824_REG_RDAC,
NAU8824_RDAC_CLK_DELAY_MASK | NAU8824_RDAC_VREF_MASK,
Expand Down

0 comments on commit c869ce5

Please sign in to comment.