summaryrefslogtreecommitdiffstats
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-cfa1c84.tar.gz
rockbox-cfa1c84.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)
/* Set CVDD1 power supply */
#ifdef HAVE_ADJUSTABLE_CPU_VOLTAGE
-#ifdef SANSA_CLIPZIP
+#if defined(SANSA_CLIPZIP)
ascodec_write_pmu(0x17, 1, 0x80 | 19);
+#elif defined(SANSA_CLIPPLUS)
+ ascodec_write_pmu(0x17, 1, 0x80 | 26);
#else
ascodec_write_pmu(0x17, 1, 0x80 | 22);
#endif