diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-11-06 14:06:45 +0100 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-11-06 14:07:16 +0100 |
commit | 6af0f5f83169ef215b4579834ddfb2691e8a7bff (patch) | |
tree | e88a8a009638cec29bf42fe881516cfe1936f26a | |
parent | bbfd2bf9028a55cb85ff51eb34dc663b7e49ed55 (diff) | |
download | op-kernel-dev-6af0f5f83169ef215b4579834ddfb2691e8a7bff.zip op-kernel-dev-6af0f5f83169ef215b4579834ddfb2691e8a7bff.tar.gz |
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.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/avr32/lib/io-readsb.S b/arch/avr32/lib/io-readsb.S index b319d5e..2be5da7 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 |