summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-01-08 20:39:27 +0400
committerOlof Johansson <olof@lixom.net>2013-01-08 20:39:27 +0400
commit5595e755b67a963db20b74ef8e1670a6fd245ed9 (patch)
treec261934b8ed42749ce0856f0102c1508dd5b690f /drivers
parent2d9e02cad61c49798d9d36b9d87739c279fd6b0f (diff)
parent6c1ecba8d84841277d68140ef485335d5be28485 (diff)
downloadlinux-5595e755b67a963db20b74ef8e1670a6fd245ed9.tar.xz
Merge tag 'mxs-fixes-3.8' of git://git.linaro.org/people/shawnguo/linux-2.6 into fixes
From Shawn Guo: I have to send one critical mxsfb fix through arm-soc, as FB maintainer is unresponsive for quite a while. People start complaining the missing of such an important fix. * tag 'mxs-fixes-3.8' of git://git.linaro.org/people/shawnguo/linux-2.6: video: mxsfb: fix crash when unblanking the display ARM: dts: imx23-olinuxino: Fix IOMUX settings
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/mxsfb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index 49619b441500..f2a49ef772f3 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -369,7 +369,8 @@ static void mxsfb_disable_controller(struct fb_info *fb_info)
loop--;
}
- writel(VDCTRL4_SYNC_SIGNALS_ON, host->base + LCDC_VDCTRL4 + REG_CLR);
+ reg = readl(host->base + LCDC_VDCTRL4);
+ writel(reg & ~VDCTRL4_SYNC_SIGNALS_ON, host->base + LCDC_VDCTRL4);
clk_disable_unprepare(host->clk);