summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-03-28 20:46:56 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-03-28 20:46:56 +0000
commit5c4c691cd3465c3cbca83581aa079648fa2d8d04 (patch)
tree711ebe36852f093e214f60e98effe28ad521b945 /firmware
parent7d74fdec020d1f54f0cab318c595d34dd2dc1a0c (diff)
downloadrockbox-5c4c691cd3465c3cbca83581aa079648fa2d8d04.tar.gz
rockbox-5c4c691cd3465c3cbca83581aa079648fa2d8d04.tar.bz2
rockbox-5c4c691cd3465c3cbca83581aa079648fa2d8d04.zip
AMSv2 sd: correct CLKENA settings (to stop sd clock when idle) for AMSv2 variant 1 players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29657 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index d04b5aed86..67ef7b34ef 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -617,7 +617,7 @@ static int sd_init_card(const int drive)
/* Set low power mode */
#if defined(SANSA_FUZEV2) || defined(SANSA_CLIPPLUS)
if (amsv2_variant == 1)
- MCI_CLKENA |= 1<<16;
+ MCI_CLKENA |= 1<<(1 + 16);
else
#endif
MCI_CLKENA |= 1<<(drive + 16);