summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-11-06 14:06:45 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2006-11-06 14:07:16 +0100
commit6af0f5f83169ef215b4579834ddfb2691e8a7bff (patch)
treee88a8a009638cec29bf42fe881516cfe1936f26a
parentbbfd2bf9028a55cb85ff51eb34dc663b7e49ed55 (diff)
AVR32: Add missing return instruction in __raw_writesb
__raw_writesb ends with a conditional branch, which is obviously wrong. It should return after the last loop terminates. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
-rw-r--r--arch/avr32/lib/io-readsb.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/avr32/lib/io-readsb.S b/arch/avr32/lib/io-readsb.S
index b319d5e71749..2be5da7ed26b 100644
--- a/arch/avr32/lib/io-readsb.S
+++ b/arch/avr32/lib/io-readsb.S
@@ -45,3 +45,5 @@ __raw_readsb:
sub r10, 1
st.b r11++, r8
brne 3b
+
+ retal r12