diff options
author | Mihail Zenkov <mihail.zenkov@gmail.com> | 2016-02-01 03:20:06 +0000 |
---|---|---|
committer | Mihail Zenkov <mihail.zenkov@gmail.com> | 2016-02-01 03:20:06 +0000 |
commit | 840dacc718ca8e0785542a14a164d7c6b2ae1983 (patch) | |
tree | 74ccdb534799923095ea089a843079c6a269d2c2 | |
parent | e2f943f2294a98abc8bb25b3dd7f485444dad731 (diff) | |
download | rockbox-840dacc718ca8e0785542a14a164d7c6b2ae1983.tar.gz rockbox-840dacc718ca8e0785542a14a164d7c6b2ae1983.zip |
AS3543: Fix increasing noise and power consumption if booted through rolo
Change-Id: I99fe6d09b15689e5dd0179714bbe363aed922d10
-rw-r--r-- | firmware/drivers/audio/as3514.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c index 11eb14cf75..2d69395d37 100644 --- a/firmware/drivers/audio/as3514.c +++ b/firmware/drivers/audio/as3514.c | |||
@@ -130,6 +130,8 @@ void audiohw_preinit(void) | |||
130 | ascodec_readbytes(0x0, AS3514_NUM_AUDIO_REGS, as3514_regs); | 130 | ascodec_readbytes(0x0, AS3514_NUM_AUDIO_REGS, as3514_regs); |
131 | 131 | ||
132 | #ifdef HAVE_AS3543 | 132 | #ifdef HAVE_AS3543 |
133 | /* Prevent increasing noise and power consumption if booted through rolo */ | ||
134 | as3514_write(AS3514_HPH_OUT_L, 0x0); | ||
133 | 135 | ||
134 | as3514_write(AS3514_AUDIOSET1, AUDIOSET1_DAC_on); | 136 | as3514_write(AS3514_AUDIOSET1, AUDIOSET1_DAC_on); |
135 | as3514_write(AS3514_AUDIOSET2, AUDIOSET2_SUM_off | AUDIOSET2_AGC_off | AUDIOSET2_HPH_QUALITY_LOW_POWER); | 137 | as3514_write(AS3514_AUDIOSET2, AUDIOSET2_SUM_off | AUDIOSET2_AGC_off | AUDIOSET2_HPH_QUALITY_LOW_POWER); |