summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-15 10:34:30 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-15 13:31:28 -0400
commit82787709bd0c943e5d0d2b4fce7e8464a0de0edb (patch)
tree86fed437439c7991a4663448bd9626e6997fc345 /firmware
parent0cde20fadb9aeeb8e724d76e51bce7580296621b (diff)
downloadrockbox-82787709bd0c943e5d0d2b4fce7e8464a0de0edb.tar.gz
rockbox-82787709bd0c943e5d0d2b4fce7e8464a0de0edb.zip
update the hibi patcher script to handle initial m3k stuff
Change-Id: I63ed8443952888da3dafb23ff6e7daf9c7aca574
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/audio/fiiolinux_codec.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/firmware/drivers/audio/fiiolinux_codec.c b/firmware/drivers/audio/fiiolinux_codec.c
index 894d16dae1..44ebdd092c 100644
--- a/firmware/drivers/audio/fiiolinux_codec.c
+++ b/firmware/drivers/audio/fiiolinux_codec.c
@@ -69,10 +69,11 @@ void audiohw_preinit(void)
69{ 69{
70 alsa_controls_init(); 70 alsa_controls_init();
71 hw_open(); 71 hw_open();
72 // set 19/'ADC Mux' 0 72 // NOTE:
73 // set 4/'Digital Capture Volume' 0 73 // Of the exported controls, only these do anything:
74 // set 6/'Mic Volume' 0 74 // 10 DACL Playback Volume
75 // set 11/'DACR Playback Volume' 0 (wtf?? vortex used 1, of used 0) 75 // 11 DACR Playback Volume
76 // 12 Low Mode Switch (see table 25 in datasheet, not simple..)
76} 77}
77 78
78void audiohw_postinit(void) 79void audiohw_postinit(void)