diff options
author | Stefan Wahren <[email protected]> | 2019-08-24 16:09:47 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2019-09-21 01:23:24 +0200 |
commit | 7e9713af316187f323b25ebf7eb1a8f03425e7e9 (patch) | |
tree | c1ac2e079816199282863b70bcf9cebd3ec56723 /lib/string_helpers.c | |
parent | 4537e52a526698f503dcb151234414cfa46d534b (diff) |
pwm: bcm2835: Fix period_ns range check
The range check for period_ns was written under assumption of a fixed
PWM clock. With clk-bcm2835 driver the PWM clock is a dynamic one.
So fix this by doing the range check on the period register value.
Signed-off-by: Stefan Wahren <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions