summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/audio/as3514.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c
index 22609621df..5f18bc6ec1 100644
--- a/firmware/drivers/audio/as3514.c
+++ b/firmware/drivers/audio/as3514.c
@@ -156,8 +156,13 @@ void audiohw_preinit(void)
156 as3514_write(AS3514_AUDIOSET3, AUDIOSET3_HPCM_on | AUDIOSET3_HP_LONGSTART); 156 as3514_write(AS3514_AUDIOSET3, AUDIOSET3_HPCM_on | AUDIOSET3_HP_LONGSTART);
157 157
158 as3514_write(AS3543_DAC_IF, AS3543_DAC_INT_PLL); 158 as3514_write(AS3543_DAC_IF, AS3543_DAC_INT_PLL);
159#ifdef SAMSUNG_YPR0
160 /* Select Line 1 for FM radio */
161 as3514_clear(AS3514_LINE_IN1_R, LINE_IN_R_LINE_SELECT);
162#else
159 /* Select Line 2 for FM radio */ 163 /* Select Line 2 for FM radio */
160 as3514_set(AS3514_LINE_IN1_R, LINE_IN_R_LINE_SELECT); 164 as3514_set(AS3514_LINE_IN1_R, LINE_IN_R_LINE_SELECT);
165#endif
161 /* Output SUM of microphone/line/DAC */ 166 /* Output SUM of microphone/line/DAC */
162 as3514_write(AS3514_HPH_OUT_R, HPH_OUT_R_HEADPHONES | HPH_OUT_R_HP_OUT_SUM); 167 as3514_write(AS3514_HPH_OUT_R, HPH_OUT_R_HEADPHONES | HPH_OUT_R_HP_OUT_SUM);
163 168