From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vasily Khoruzhick Subject: [PATCH 5/7] ARM: S3C2410: H1940: Fix lcd_power_set function Date: Thu, 6 Jan 2011 21:52:50 +0200 Message-ID: <1294343572-28518-6-git-send-email-anarsoul@gmail.com> References: <1294343572-28518-1-git-send-email-anarsoul@gmail.com> Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:35968 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753495Ab1AFTyl (ORCPT ); Thu, 6 Jan 2011 14:54:41 -0500 Received: by mail-ey0-f174.google.com with SMTP id 27so7378165eye.19 for ; Thu, 06 Jan 2011 11:54:40 -0800 (PST) In-Reply-To: <1294343572-28518-1-git-send-email-anarsoul@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: "Arnaud Patard (Rtp)" , Ben Dooks , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, anarsoul@gmail.com Current implementation of lcd_power_set is not reliable, sometimes it does not enable LCD at all. Mimic WinCE behavior to fix this issue. Signed-off-by: Vasily Khoruzhick --- arch/arm/mach-s3c2410/mach-h1940.c | 26 +++++++++++++++----------- 1 files changed, 15 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c2410/mach-h1940.c index 6a3cf78..5531c4c 100644 --- a/arch/arm/mach-s3c2410/mach-h1940.c +++ b/arch/arm/mach-s3c2410/mach-h1940.c @@ -30,6 +30,7 @@ #include #include #include +#include #include