diff options
author | 2021-01-20 18:16:27 +0200 | |
---|---|---|
committer | 2021-02-15 11:43:30 +0100 | |
commit | 2bee255a5ecf3213d118f22f6d8f65e4ec9101f2 (patch) | |
tree | 33a79784a790dac1c4b9a63737168f1a8740bb7f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: mvebu: make pwm .get_state closer to idempotent (diff) | |
download | wireguard-linux-2bee255a5ecf3213d118f22f6d8f65e4ec9101f2.tar.xz wireguard-linux-2bee255a5ecf3213d118f22f6d8f65e4ec9101f2.zip |
gpio: mvebu: don't limit pwm period/duty_cycle to UINT_MAX
PWM on/off registers are limited to UINT_MAX. However the state period
and duty_cycle fields are ns values of type u64. There is no reason to
limit them to UINT_MAX.
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions