提交 c1f24ac9 编写于 作者: H Haavard Skinnemoen

avr32: Fix wrong I/O access size in __raw_readsb

__raw_readsb() should always use byte accesses, never halfword accesses,
to I/O memory.
Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
上级 7c1b90a1
......@@ -41,7 +41,7 @@ __raw_readsb:
2: sub r10, -4
reteq r12
3: ld.uh r8, r12[0]
3: ld.ub r8, r12[0]
sub r10, 1
st.b r11++, r8
brne 3b
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册