Could you add the following patch to the current release and the last working one? And tell me the resulting values?
Index: firmware/drivers/audio/wm8751.c
===================================================================
--- firmware/drivers/audio/wm8751.c (Revision 17425)
+++ firmware/drivers/audio/wm8751.c (Arbeitskopie)
@@ -30,6 +30,9 @@
#include "audiohw.h"
#include "system.h"
+#define LOGF_ENABLE
+#include "logf.h"
+
const struct sound_settings_info audiohw_settings[] = {
[SOUND_VOLUME] = {"dB", 0, 1, -74, 6, -25},
#ifdef USE_ADAPTIVE_BASS
@@ -186,6 +189,7 @@
void audiohw_set_bass(int value)
{
+ logf("b: %d", value);
wmcodec_write(BASSCTRL, BASSCTRL_BITS |
#ifdef USE_ADAPTIVE_BASS
@@ -197,6 +201,7 @@
void audiohw_set_treble(int value)
{
+ logf("t: %d", value);
wmcodec_write(TREBCTRL, TREBCTRL_BITS |
TREBCTRL_TREB(tone_tenthdb2hw(value)));
}