[PATCH] ARM: pxa: Properly configure PWM period for palm27x

Marek Vasut marek.vasut at gmail.com
Tue Feb 1 13:18:45 EST 2011


On Monday 31 January 2011 23:06:53 Marek Vasut wrote:
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> ---
>  arch/arm/mach-pxa/palm27x.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-pxa/palm27x.c b/arch/arm/mach-pxa/palm27x.c
> index 7d1434a..4c9a938 100644
> --- a/arch/arm/mach-pxa/palm27x.c
> +++ b/arch/arm/mach-pxa/palm27x.c
> @@ -322,7 +322,7 @@ static struct platform_pwm_backlight_data
> palm27x_backlight_data = { .pwm_id		= 0,
>  	.max_brightness	= 0xfe,
>  	.dft_brightness	= 0x7e,
> -	.pwm_period_ns	= 3500,
> +	.pwm_period_ns	= 3500 * 1024,
>  	.init		= palm27x_backlight_init,
>  	.notify		= palm27x_backlight_notify,
>  	.exit		= palm27x_backlight_exit,

CC linux-arm-kernel, I mistyped, sorry



More information about the linux-arm-kernel mailing list