summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-06-11 14:04:31 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-06-11 14:04:31 +0000
commit82cd7ff17fe55986c5865d9340e62039436eea69 (patch)
tree042078e3c7a43ca90f5648974501bddaed010b8e
parent164b7c95436e32ce4358f0dd034bdab7dc12cc31 (diff)
downloadrockbox-v3.6.tar.gz
rockbox-v3.6.tar.bz2
rockbox-v3.6.zip
pcm as3525v1: correct ASM constraintv3.6
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_6@26776 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/as3525/pcm-as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/pcm-as3525.c b/firmware/target/arm/as3525/pcm-as3525.c
index 796d339c12..eed09b9eb7 100644
--- a/firmware/target/arm/as3525/pcm-as3525.c
+++ b/firmware/target/arm/as3525/pcm-as3525.c
@@ -281,7 +281,7 @@ static inline void mono2stereo(int16_t *end)
" strh %0, [%1], #2 \n" // copy it in the right-channel
" cmp %1, %2 \n" // are we finished?
" bne 1b \n"
- : "=r"(left), "+r"(mono_samples)
+ : "=&r"(left), "+r"(mono_samples)
: "r"(end)
: "memory"
);