summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/audio/as3514.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c
index c161cd69d0..f9e5fd333f 100644
--- a/firmware/drivers/audio/as3514.c
+++ b/firmware/drivers/audio/as3514.c
@@ -173,11 +173,13 @@ void audiohw_preinit(void)
173 /* Turn on SUM, DAC */ 173 /* Turn on SUM, DAC */
174 as3514_write(AS3514_AUDIOSET1, AUDIOSET1_DAC_on | AUDIOSET1_SUM_on); 174 as3514_write(AS3514_AUDIOSET1, AUDIOSET1_DAC_on | AUDIOSET1_SUM_on);
175 175
176#ifndef HAVE_AS3543
176 /* Set BIAS on, DITH off, AGC off, IBR_DAC max reduction, LSP_LP on, 177 /* Set BIAS on, DITH off, AGC off, IBR_DAC max reduction, LSP_LP on,
177 IBR_LSP max reduction (50%), taken from c200v2 OF 178 IBR_LSP max reduction (50%), taken from c200v2 OF
178 */ 179 */
179 as3514_write(AS3514_AUDIOSET2, AUDIOSET2_IBR_LSP_50 | AUDIOSET2_LSP_LP | 180 as3514_write(AS3514_AUDIOSET2, AUDIOSET2_IBR_LSP_50 | AUDIOSET2_LSP_LP |
180 AUDIOSET2_IBR_DAC_50 | AUDIOSET2_AGC_off |AUDIOSET2_DITH_off ); 181 AUDIOSET2_IBR_DAC_50 | AUDIOSET2_AGC_off | AUDIOSET2_DITH_off );
182#endif
181 183
182/* AMS Sansas based on the AS3525 need HPCM enabled, otherwise they output the 184/* AMS Sansas based on the AS3525 need HPCM enabled, otherwise they output the
183 L-R signal on both L and R headphone outputs instead of normal stereo. 185 L-R signal on both L and R headphone outputs instead of normal stereo.