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

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Thu, 2 Jul 2026 03:01:32 -0400
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 8a1a3d745d47e88f745b3ea03266f08dbd2517fa
Author: William Wilgus <[email protected]>
Date:   Thu Jul 2 02:57:22 2026 -0400

    [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

diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index 7e44a9b7e6..aced3e2b80 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -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
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs