Skip to content

Commit

Permalink
AVR32: Add missing return instruction in __raw_writesb
Browse files Browse the repository at this point in the history
__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>
  • Loading branch information
Haavard Skinnemoen committed Nov 6, 2006
1 parent bbfd2bf commit 6af0f5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/avr32/lib/io-readsb.S
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ __raw_readsb:
sub r10, 1
st.b r11++, r8
brne 3b

retal r12

0 comments on commit 6af0f5f

Please sign in to comment.