Skip to content

Commit

Permalink
video: atmel: using mck as default clock for PWM
Browse files Browse the repository at this point in the history
using mck as default clock for PWM to control the backlight

Signed-off-by: Bo Shen <voice.shen@atmel.com>
  • Loading branch information
Bo Shen committed Jun 17, 2013
1 parent 8ee373f commit f5fb945
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/video/atmel_hlcdfb.c
Expand Up @@ -321,7 +321,8 @@ static int atmel_hlcdfb_setup_core_base(struct fb_info *info)
dev_dbg(info->device, " * programming CLKDIV = 0x%08lx\n",
value);
value = (value << LCDC_LCDCFG0_CLKDIV_OFFSET)
| LCDC_LCDCFG0_CGDISBASE;
| LCDC_LCDCFG0_CGDISBASE
| LCDC_LCDCFG0_CLKPWMSEL;
lcdc_writel(sinfo, ATMEL_LCDC_LCDCFG0, value);
}

Expand Down

0 comments on commit f5fb945

Please sign in to comment.