ref: 8e8b2788e5681cd4c4bc6ea09f2368b48b642d5f
parent: 48806b3e930899f1705afdcd50dd5cf862c3cbc1
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Aug 18 22:02:45 EDT 2022
aux/wm8960: disable speaker boost to avoid clipping
--- a/sys/src/cmd/aux/wm8960.c
+++ b/sys/src/cmd/aux/wm8960.c
@@ -178,7 +178,6 @@
wr(0x2f, 3<<2); /* output mixer on */
wr(0x22, 1<<8); /* L DAC to mixer */
wr(0x25, 1<<8); /* R DAC to mixer */
- wr(0x33, 5<<0); /* +5.1dB AC SPK boost - Reform's speakers can be too quiet */
wr(0x17, 1<<8 | 3<<6 | 1<<0); /* thermal shutdown on; avdd=3.3v; slow clock on */
wr(0x1c, 1<<7 | 1<<4 | 1<<3 | 1<<2); /* Vmid/r bias; Vgs/r on; Vmid soft start */