summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihail Zenkov <mihail.zenkov@gmail.com>2016-08-10 01:36:11 +0000
committerMihail Zenkov <mihail.zenkov@gmail.com>2016-08-10 01:36:11 +0000
commitcfa1c843f254ac56fa2b2b5d481cc01425592a1e (patch)
tree0eb1c8dd79b037c3654f871cc6eda23ed7685a9c
parente3c51e09d131ece29b3356cf9021065ecf7b84f3 (diff)
downloadrockbox-cfa1c843f254ac56fa2b2b5d481cc01425592a1e.tar.gz
rockbox-cfa1c843f254ac56fa2b2b5d481cc01425592a1e.zip
Increase CVDD1 for Clip+ to prevent ATA error
Change-Id: I0424d02196a6c5fb6d0185b007df5ece24b10b82
-rw-r--r--firmware/target/arm/as3525/system-as3525.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index 238cdd0b26..a7fa78a0d6 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -481,8 +481,10 @@ void set_cpu_frequency(long frequency)
481 481
482 /* Set CVDD1 power supply */ 482 /* Set CVDD1 power supply */
483#ifdef HAVE_ADJUSTABLE_CPU_VOLTAGE 483#ifdef HAVE_ADJUSTABLE_CPU_VOLTAGE
484#ifdef SANSA_CLIPZIP 484#if defined(SANSA_CLIPZIP)
485 ascodec_write_pmu(0x17, 1, 0x80 | 19); 485 ascodec_write_pmu(0x17, 1, 0x80 | 19);
486#elif defined(SANSA_CLIPPLUS)
487 ascodec_write_pmu(0x17, 1, 0x80 | 26);
486#else 488#else
487 ascodec_write_pmu(0x17, 1, 0x80 | 22); 489 ascodec_write_pmu(0x17, 1, 0x80 | 22);
488#endif 490#endif