summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-08-21 20:30:32 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-12-12 13:12:47 +0100
commit69ea311398ed26797aec837f26b18c2e3e50744c (patch)
tree0c6d1edfaec5c60b0ce016af9a0bd4478ba075b9 /firmware/drivers
parent90a32ccad61c506fb021feb0e983e9c2aade8876 (diff)
wm8758: document and fix audiohw settings
It looks like a copy and paste error to me, those were completely wrong. Change-Id: Id6ae025f4216ffccb1a8b8b790916d8b6c4694bd
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/audio/wm8758.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/drivers/audio/wm8758.c b/firmware/drivers/audio/wm8758.c
index 9ae78191bf..df90081354 100644
--- a/firmware/drivers/audio/wm8758.c
+++ b/firmware/drivers/audio/wm8758.c
@@ -305,6 +305,7 @@ void audiohw_disable_recording(void)
wmcodec_write(PWRMGMT2, PWRMGMT2_ROUT1EN | PWRMGMT2_LOUT1EN);
}
+/* volume in 0 .. 63, corresponds to -12dB .. +35.25dB in 0.75dB steps */
void audiohw_set_recvol(int left, int right, int type)
{
switch (type)