diff options
-rw-r--r-- | firmware/drivers/audio/as3514.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c index 3490abdd2d..0fe8d90b11 100644 --- a/firmware/drivers/audio/as3514.c +++ b/firmware/drivers/audio/as3514.c | |||
@@ -105,10 +105,12 @@ int audiohw_init(void) | |||
105 | i2s_reset(); | 105 | i2s_reset(); |
106 | 106 | ||
107 | /* Set ADC off, mixer on, DAC on, line out off, line in off, mic off */ | 107 | /* Set ADC off, mixer on, DAC on, line out off, line in off, mic off */ |
108 | as3514_write(AUDIOSET1, 0x20); /* Turn on DAC */ | 108 | as3514_write(AUDIOSET1, 0x64); /* Turn on SUM, DAC, LineIn 1 */ |
109 | as3514_write(AUDIOSET3, 0x5); /* Set HPCM off, ZCU off*/ | 109 | as3514_write(AUDIOSET3, 0x5); /* Set HPCM off, ZCU off*/ |
110 | as3514_write(HPH_OUT_R, 0xc0 | 0x16); /* set vol and set speaker over-current to 0 */ | 110 | as3514_write(HPH_OUT_R, 0xc0 | 0x16); /* set vol and set speaker over-current to 0 */ |
111 | as3514_write(HPH_OUT_L, 0x16); /* set default vol for headphone */ | 111 | as3514_write(HPH_OUT_L, 0x16); /* set default vol for headphone */ |
112 | as3514_write(LINE_IN1_R, 0x36); /* unmute lineIn 1 and set gain */ | ||
113 | as3514_write(LINE_IN1_L, 0x36); /* unmute lineIn 1 and set gain */ | ||
112 | as3514_write(PLLMODE, 0x04); | 114 | as3514_write(PLLMODE, 0x04); |
113 | 115 | ||
114 | /* read all reg values */ | 116 | /* read all reg values */ |