diff options
| author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-11-18 11:46:44 +0100 |
|---|---|---|
| committer | Thierry Reding <thierry.reding@gmail.com> | 2022-02-02 17:05:19 +0100 |
| commit | b23fd25ec8f1c691e5190b122079b9f498a1593a (patch) | |
| tree | a9566188f46150a936113332cd1b2b8ded55a3e2 /lib/string_helpers.c | |
| parent | 9136a39e6cf69e49803ac6123a4ac4431bc915a2 (diff) | |
pwm: imx1: Implement .apply callback
To eventually get rid of all legacy drivers convert this driver to the
modern world implementing .apply(). This just pushes down a slightly
optimized variant of how legacy drivers are handled in the core.
As a side effect this improves the behaviour for big duty cycles where
max * duty_ns overflowed before.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
