Skip to content

Commit 5595e75

Browse files
committed
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
2 parents 2d9e02c + 6c1ecba commit 5595e75

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

arch/arm/boot/dts/imx23-olinuxino.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@
3939
hog_pins_a: hog@0 {
4040
reg = <0>;
4141
fsl,pinmux-ids = <
42-
0x2013 /* MX23_PAD_SSP1_DETECT__GPIO_2_1 */
42+
0x0113 /* MX23_PAD_GPMI_ALE__GPIO_0_17 */
4343
>;
4444
fsl,drive-strength = <0>;
4545
fsl,voltage = <1>;
4646
fsl,pull-up = <0>;
4747
};
4848

49-
led_pin_gpio0_17: led_gpio0_17@0 {
49+
led_pin_gpio2_1: led_gpio2_1@0 {
5050
reg = <0>;
5151
fsl,pinmux-ids = <
52-
0x0113 /* MX23_PAD_GPMI_ALE__GPIO_0_17 */
52+
0x2013 /* MX23_PAD_SSP1_DETECT__GPIO_2_1 */
5353
>;
5454
fsl,drive-strength = <0>;
5555
fsl,voltage = <1>;
@@ -110,7 +110,7 @@
110110
leds {
111111
compatible = "gpio-leds";
112112
pinctrl-names = "default";
113-
pinctrl-0 = <&led_pin_gpio0_17>;
113+
pinctrl-0 = <&led_pin_gpio2_1>;
114114

115115
user {
116116
label = "green";

drivers/video/mxsfb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ static void mxsfb_disable_controller(struct fb_info *fb_info)
369369
loop--;
370370
}
371371

372-
writel(VDCTRL4_SYNC_SIGNALS_ON, host->base + LCDC_VDCTRL4 + REG_CLR);
372+
reg = readl(host->base + LCDC_VDCTRL4);
373+
writel(reg & ~VDCTRL4_SYNC_SIGNALS_ON, host->base + LCDC_VDCTRL4);
373374

374375
clk_disable_unprepare(host->clk);
375376

0 commit comments

Comments
 (0)