summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/au1100fb.c
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@gmail.com>2014-07-23 16:36:26 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-07-30 13:56:34 +0200
commit2f73bfbe0873452f4cd388ec2f67f8226fe93f79 (patch)
tree9070345314cad7ea65779636fce34284b4cd3637 /drivers/video/fbdev/au1100fb.c
parent9cf12167e909a86fbc4b39cf4cffef4cba40f1b3 (diff)
downloadop-kernel-dev-2f73bfbe0873452f4cd388ec2f67f8226fe93f79.zip
op-kernel-dev-2f73bfbe0873452f4cd388ec2f67f8226fe93f79.tar.gz
MIPS: Alchemy: remove au_read/write/sync
replace au_read/write/sync with __raw_read/write and wmb. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Cc: Linux-MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/7465/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/video/fbdev/au1100fb.c')
-rw-r--r--drivers/video/fbdev/au1100fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/au1100fb.c b/drivers/video/fbdev/au1100fb.c
index c0832ea..c163424 100644
--- a/drivers/video/fbdev/au1100fb.c
+++ b/drivers/video/fbdev/au1100fb.c
@@ -113,7 +113,7 @@ static int au1100fb_fb_blank(int blank_mode, struct fb_info *fbi)
case VESA_NO_BLANKING:
/* Turn on panel */
fbdev->regs->lcd_control |= LCD_CONTROL_GO;
- au_sync();
+ wmb(); /* drain writebuffer */
break;
case VESA_VSYNC_SUSPEND:
@@ -121,7 +121,7 @@ static int au1100fb_fb_blank(int blank_mode, struct fb_info *fbi)
case VESA_POWERDOWN:
/* Turn off panel */
fbdev->regs->lcd_control &= ~LCD_CONTROL_GO;
- au_sync();
+ wmb(); /* drain writebuffer */
break;
default:
break;
OpenPOWER on IntegriCloud