[Bugfix] FS#13947 - Sansa Clip+: High FM background noise when unboosted

Boost the CVDD1 voltage a bit to get rid of static when FM is playing

Change-Id: Id059882ffb5f10bb104b848ee0b646e36fdbe274
This commit is contained in:
William Wilgus 2026-07-02 02:57:22 -04:00
parent ddc31e8ddc
commit 8a1a3d745d

View file

@ -32,6 +32,10 @@
#include "backlight-target.h"
#include "lcd.h"
#if defined(SANSA_CLIPPLUS) && CONFIG_TUNER
#include "fmradio.h"
#endif
struct mutex cpufreq_mtx;
/* Charge Pump and Power management Settings */
@ -521,6 +525,12 @@ void set_cpu_frequency(long frequency)
#if defined(SANSA_CLIPZIP)
ascodec_write_pmu(0x17, 1, 0x80 | 20);
#elif defined(SANSA_CLIPPLUS)
#if CONFIG_TUNER
if (get_radio_status()== FMRADIO_PLAYING) /* FS#13947 Noise in FM radio when unboosted */
ascodec_write_pmu(0x17, 1, 0x80 | 35);
else
#endif
if (amsv2_variant)
ascodec_write_pmu(0x17, 1, 0x80 | 22);
else