]> git.baikalelectronics.ru Git - kernel.git/commit
pwm-backlight: retrieve configured PWM period
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 19 May 2014 20:42:42 +0000 (22:42 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 21 May 2014 09:19:45 +0000 (11:19 +0200)
commit11c649b25789a3e354b60fd23d75582e7e9a5140
tree59c61a8dfd8b83b2f0cdc7831633ec2db0f285d6
parentf826e55f869a9253876e4974d64ae3b27a5c41a7
pwm-backlight: retrieve configured PWM period

The PWM core is now able to initialize the PWM period from a lookup
table defined by board files. Use it if available and fallback to the
value supplied in pwm_period_ns.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/video/backlight/pwm_bl.c