mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
[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:
parent
ddc31e8ddc
commit
8a1a3d745d
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue