Commit 5904539b authored by Paul Mundt's avatar Paul Mundt

sh: dcache write-back for R7780RP PIO.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 0072032d
...@@ -214,6 +214,8 @@ void r7780rp_insw(unsigned long port, void *dst, unsigned long count) ...@@ -214,6 +214,8 @@ void r7780rp_insw(unsigned long port, void *dst, unsigned long count)
while (count--) while (count--)
*buf++ = *p; *buf++ = *p;
flush_dcache_all();
} }
void r7780rp_insl(unsigned long port, void *dst, unsigned long count) void r7780rp_insl(unsigned long port, void *dst, unsigned long count)
...@@ -271,6 +273,8 @@ void r7780rp_outsw(unsigned long port, const void *src, unsigned long count) ...@@ -271,6 +273,8 @@ void r7780rp_outsw(unsigned long port, const void *src, unsigned long count)
while (count--) while (count--)
*p = *buf++; *p = *buf++;
flush_dcache_all();
} }
void r7780rp_outsl(unsigned long port, const void *src, unsigned long count) void r7780rp_outsl(unsigned long port, const void *src, unsigned long count)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment