summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/audio/wm8731.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/wm8731.c b/firmware/drivers/audio/wm8731.c
index 18e04618bf..98155a71eb 100644
--- a/firmware/drivers/audio/wm8731.c
+++ b/firmware/drivers/audio/wm8731.c
@@ -268,6 +268,8 @@ void audiohw_disable_recording(void)
268 codec_set_active(true); 268 codec_set_active(true);
269} 269}
270 270
271/* Line in: 0 .. 31 => Volume -34.5 .. +12 dB
272 * Microphone: 0 or 20 dB */
271void audiohw_set_recvol(int left, int right, int type) 273void audiohw_set_recvol(int left, int right, int type)
272{ 274{
273 switch (type) 275 switch (type)