summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-01-08 17:39:27 +0100
committerOlof Johansson <olof@lixom.net>2013-01-08 17:39:27 +0100
commit5595e755b67a963db20b74ef8e1670a6fd245ed9 (patch)
treec261934b8ed42749ce0856f0102c1508dd5b690f /drivers
parentMerge tag 'imx-fixes-3.8' of git://git.linaro.org/people/shawnguo/linux-2.6 i... (diff)
parentvideo: mxsfb: fix crash when unblanking the display (diff)
downloadlinux-5595e755b67a963db20b74ef8e1670a6fd245ed9.tar.xz
linux-5595e755b67a963db20b74ef8e1670a6fd245ed9.zip
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);