[PATCH] ARM: mxs: TX28: Change pwm backlight max_brightness to 100

Lothar Waßmann LW at KARO-electronics.de
Mon Mar 21 11:15:44 EDT 2011


Change max_brightness for PWM backlight to 100, so that the configured
brightness value equals the PWM duty cycle in percent.

Signed-off-by: Lothar Waßmann <LW at KARO-electronics.de>
---
 arch/arm/mach-mxs/mach-tx28.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-mxs/mach-tx28.c b/arch/arm/mach-mxs/mach-tx28.c
index b0d91e7..f7c6526 100644
--- a/arch/arm/mach-mxs/mach-tx28.c
+++ b/arch/arm/mach-mxs/mach-tx28.c
@@ -304,8 +304,8 @@ early_param("videomem", tx28_set_videomem);
 
 static struct platform_pwm_backlight_data pwm_data = {
 	.pwm_id = 0,
-	.max_brightness = 255,
-	.dft_brightness = 255,
+	.max_brightness = 100,
+	.dft_brightness = 100,
 	.pwm_period_ns = 100000,
 };
 
-- 
1.5.6.5




More information about the linux-arm-kernel mailing list