aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-tegra.c
diff options
context:
space:
mode:
authorSylvain Lemieux <[email protected]>2016-06-27 13:09:55 +0000
committerThierry Reding <[email protected]>2016-07-11 10:49:29 +0000
commitacfd92fdfb9384d54d9404101e8657e75c2372f3 (patch)
treeda50555ec0c69fb074c7f8965b23d4b4bbf7a08f /drivers/pwm/pwm-tegra.c
parentpwm: Add a driver for the STMPE PWM (diff)
downloadkernel-acfd92fdfb9384d54d9404101e8657e75c2372f3.tar.gz
kernel-acfd92fdfb9384d54d9404101e8657e75c2372f3.zip
pwm: lpc32xx: Set PWM_PIN_LEVEL bit to default value
The PWM_PIN_LEVEL bit is leave unset by the kernel PWM driver. Prior to commit 08ee77b5a5de27ad63c92262ebcb4efe0da93b58, the PWM_PIN_LEVEL bit was always clear when the PWM was disable and a 0 logic level was apply to the output. According to the LPC32x0 User Manual [1], the default value for bit 30 (PWM_PIN_LEVEL) is 0. This change initialize the pin level to 0 (default value) and update the register value accordingly. [1] http://www.nxp.com/documents/user_manual/UM10326.pdf Signed-off-by: Sylvain Lemieux <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-tegra.c')
0 files changed, 0 insertions, 0 deletions