From: Jingoo Han Date: Tue, 24 May 2011 08:55:31 +0000 (+0000) Subject: video: s3c-fb: add gpio setup function to resume function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6aa9681100303bd467cbd0262eb00da8d492fc7f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git video: s3c-fb: add gpio setup function to resume function This patch adds gpio setup function to resume function to ensure gpio used by FIMD IP and LCD panel during a resume. Signed-off-by: Jingoo Han Signed-off-by: Paul Mundt --- diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index 6b7c5a8aea8a..2bd86a9fa3a0 100644 --- a/drivers/video/s3c-fb.c +++ b/drivers/video/s3c-fb.c @@ -1526,7 +1526,8 @@ static int s3c_fb_resume(struct device *dev) clk_enable(sfb->bus_clk); - /* setup registers */ + /* setup gpio and output polarity controls */ + pd->setup_gpio(); writel(pd->vidcon1, sfb->regs + VIDCON1); /* zero all windows before we do anything */ @@ -1584,7 +1585,8 @@ static int s3c_fb_runtime_resume(struct device *dev) clk_enable(sfb->bus_clk); - /* setup registers */ + /* setup gpio and output polarity controls */ + pd->setup_gpio(); writel(pd->vidcon1, sfb->regs + VIDCON1); /* zero all windows before we do anything */