diff options
Diffstat (limited to 'firmware/drivers/audio/imx233-codec.c')
-rw-r--r-- | firmware/drivers/audio/imx233-codec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/drivers/audio/imx233-codec.c b/firmware/drivers/audio/imx233-codec.c index ae812f865f..4afdfc6f8b 100644 --- a/firmware/drivers/audio/imx233-codec.c +++ b/firmware/drivers/audio/imx233-codec.c | |||
@@ -61,6 +61,9 @@ void audiohw_enable_recording(bool source_mic) | |||
61 | imx233_audioin_open(); | 61 | imx233_audioin_open(); |
62 | /* if source is microhpone we need to power the microphone too */ | 62 | /* if source is microhpone we need to power the microphone too */ |
63 | imx233_audioin_enable_mic(source_mic); | 63 | imx233_audioin_enable_mic(source_mic); |
64 | int src = source_mic ? AUDIOIN_SELECT_MICROPHONE : AUDIOIN_SELECT_LINE1; | ||
65 | imx233_audioin_select_mux_input(false, src); | ||
66 | imx233_audioin_select_mux_input(true, src); | ||
64 | } | 67 | } |
65 | 68 | ||
66 | void audiohw_disable_recording(void) | 69 | void audiohw_disable_recording(void) |