diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-11-06 08:06:45 -0500 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-11-06 08:07:16 -0500 |
commit | 6af0f5f83169ef215b4579834ddfb2691e8a7bff (patch) | |
tree | e88a8a009638cec29bf42fe881516cfe1936f26a /arch/avr32/lib | |
parent | bbfd2bf9028a55cb85ff51eb34dc663b7e49ed55 (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>
Diffstat (limited to 'arch/avr32/lib')
-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 b319d5e7174..2be5da7ed26 100644 --- a/arch/avr32/lib/io-readsb.S +++ b/arch/avr32/lib/io-readsb.S | |||
@@ -45,3 +45,5 @@ __raw_readsb: | |||
45 | sub r10, 1 | 45 | sub r10, 1 |
46 | st.b r11++, r8 | 46 | st.b r11++, r8 |
47 | brne 3b | 47 | brne 3b |
48 | |||
49 | retal r12 | ||