From mboxrd@z Thu Jan 1 00:00:00 1970 From: anarsoul@gmail.com (Vasily Khoruzhick) Date: Thu, 6 Jan 2011 21:52:50 +0200 Subject: [PATCH 5/7] ARM: S3C2410: H1940: Fix lcd_power_set function In-Reply-To: <1294343572-28518-1-git-send-email-anarsoul@gmail.com> References: <1294343572-28518-1-git-send-email-anarsoul@gmail.com> Message-ID: <1294343572-28518-6-git-send-email-anarsoul@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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