diff options
| author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2025-07-08 19:18:01 +0200 |
|---|---|---|
| committer | Uwe Kleine-König <ukleinek@kernel.org> | 2025-09-15 11:39:44 +0200 |
| commit | b871d093f1caebeb39b12136a33e7529b8fdea50 (patch) | |
| tree | 509e9d8ec8ddaa3ea8f1602005ed640495b281e5 /rust/helpers/xarray.c | |
| parent | 5364e70b013c204088dfcd888a5517a81f0b1836 (diff) | |
pwm: Check actual period and duty_cycle for ignored polarity test
When a lowlevel driver configures the wrong period that might
(historically) be ok if the emitted signal has a 100% relative duty_cycle
as that just corresponds to rounding down the duty_cycle to 0 which is an
allowed thing to do for a lowlevel driver.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/bc511c0250ea2f6390e4209ab1ea9c08a3c18612.1751994988.git.u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
