From 936fd540c059d255e9b3fd061d4d97934c6898ec Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Wed, 12 Oct 2011 20:09:19 +0000 Subject: [PATCH] Sansa AMSv2: set internal voltages PVDD1 and AVDD17 to the same value as the OF does. * improves audio quality and increases maximum volume * reduces pop on power-down * reduces runtime slightly (about 3%) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30743 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/system-as3525.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index 78282b905e..348b4abcb2 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c @@ -281,12 +281,10 @@ void system_init(void) ascodec_write_pmu(0x1A, 2, 0xCC); /* CHGVBUS2: set VBUS threshold to 3.18V and EOC threshold to 30% CC */ ascodec_write_pmu(0x19, 2, 0x41); -#if 0 /* don't set higher voltage until impact on runtime has been checked */ /* PVDD1: set PVDD1 power supply to 2.5 V */ ascodec_write_pmu(0x18, 1, 0x35); /* AVDD17: set AVDD17 power supply to 2.5V */ ascodec_write_pmu(0x18, 7, 0x31); -#endif #else ascodec_write(AS3514_CVDD_DCDC3, AS314_CP_DCDC3_SETTING); #endif /* HAVE_AS3543 */