Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/arm
Module Name: src
Committed By: hkenken
Date: Tue Dec 1 06:04:55 UTC 2026
Modified Files:
src/sys/arch/arm/imx: imxpwm.c
src/sys/arch/arm/nxp: imx6_pwm.c
Log Message:
imxpwm: fix polarity handling
- get_config() returned the wrong polarity.
- imx6_pwm: the polarity was set incorrectly.
- Use the SAR mask, not the PR mask, when writing PWMSAR.
- In attach, clear only the CLKSRC field of PWMCR, not the other bits.
Tested on NETWALKER: the LCD is lit at boot, and the polarity no
longer flips when the brightness is changed. Built GENERIC.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/imx/imxpwm.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/nxp/imx6_pwm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index