diff options
-rw-r--r-- | firmware/drivers/wm8758.c | 6 | ||||
-rw-r--r-- | firmware/drivers/wm8975.c | 2 |
2 files changed, 4 insertions, 4 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 | ||
diff --git a/firmware/drivers/wm8975.c b/firmware/drivers/wm8975.c index 011d771a13..12aa46821a 100644 --- a/firmware/drivers/wm8975.c +++ b/firmware/drivers/wm8975.c | |||
@@ -256,7 +256,7 @@ void audiohw_enable_recording(bool source_mic) | |||
256 | wmcodec_write(0x07, 0x42); | 256 | wmcodec_write(0x07, 0x42); |
257 | 257 | ||
258 | /* The iPod can handle multiple frequencies, but fix at 44.1KHz for now */ | 258 | /* The iPod can handle multiple frequencies, but fix at 44.1KHz for now */ |
259 | wmcodec_set_sample_rate(WM8975_44100HZ); | 259 | audiohw_set_sample_rate(WM8975_44100HZ); |
260 | 260 | ||
261 | /* unmute inputs */ | 261 | /* unmute inputs */ |
262 | wmcodec_write(0x00, 0x17); /* LINVOL (def 0dB) */ | 262 | wmcodec_write(0x00, 0x17); /* LINVOL (def 0dB) */ |