diff options
Diffstat (limited to 'firmware/drivers/wm8758.c')
-rw-r--r-- | firmware/drivers/wm8758.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/wm8758.c b/firmware/drivers/wm8758.c index 9732d4f776..b52bac2f21 100644 --- a/firmware/drivers/wm8758.c +++ b/firmware/drivers/wm8758.c | |||
@@ -223,7 +223,7 @@ void audiohw_enable_recording(bool source_mic) | |||
223 | 223 | ||
224 | /* The iPod can handle multiple frequencies, but fix at 44.1KHz | 224 | /* The iPod can handle multiple frequencies, but fix at 44.1KHz |
225 | for now */ | 225 | for now */ |
226 | wmcodec_set_sample_rate(WM8758_44100HZ); | 226 | audiohw_set_sample_rate(WM8758_44100HZ); |
227 | 227 | ||
228 | wmcodec_write(INCTRL,0x44); /* Connect L2 and R2 inputs */ | 228 | wmcodec_write(INCTRL,0x44); /* Connect L2 and R2 inputs */ |
229 | 229 | ||
@@ -248,11 +248,11 @@ void audiohw_enable_recording(bool source_mic) | |||
248 | wmcodec_write(LOUTMIX,0x17); /* Enable output mixer - BYPL2LMIX @ 0db*/ | 248 | wmcodec_write(LOUTMIX,0x17); /* Enable output mixer - BYPL2LMIX @ 0db*/ |
249 | wmcodec_write(ROUTMIX,0x17); /* Enable output mixer - BYPR2RMIX @ 0db*/ | 249 | wmcodec_write(ROUTMIX,0x17); /* Enable output mixer - BYPR2RMIX @ 0db*/ |
250 | 250 | ||
251 | wmcodec_mute(0); | 251 | audiohw_mute(0); |
252 | } | 252 | } |
253 | 253 | ||
254 | void audiohw_disable_recording(void) { | 254 | void audiohw_disable_recording(void) { |
255 | wmcodec_mute(1); | 255 | audiohw_mute(1); |
256 | 256 | ||
257 | wmcodec_write(PWRMGMT3, 0x0); | 257 | wmcodec_write(PWRMGMT3, 0x0); |
258 | 258 | ||