From 840dacc718ca8e0785542a14a164d7c6b2ae1983 Mon Sep 17 00:00:00 2001 From: Mihail Zenkov Date: Mon, 1 Feb 2016 03:20:06 +0000 Subject: [PATCH] AS3543: Fix increasing noise and power consumption if booted through rolo Change-Id: I99fe6d09b15689e5dd0179714bbe363aed922d10 --- firmware/drivers/audio/as3514.c | 2 ++ 1 file changed, 2 insertions(+) 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) ascodec_readbytes(0x0, AS3514_NUM_AUDIO_REGS, as3514_regs); #ifdef HAVE_AS3543 + /* Prevent increasing noise and power consumption if booted through rolo */ + as3514_write(AS3514_HPH_OUT_L, 0x0); as3514_write(AS3514_AUDIOSET1, AUDIOSET1_DAC_on); as3514_write(AS3514_AUDIOSET2, AUDIOSET2_SUM_off | AUDIOSET2_AGC_off | AUDIOSET2_HPH_QUALITY_LOW_POWER);