commit | 7e9713af316187f323b25ebf7eb1a8f03425e7e9 | [log] [tgz] |
---|---|---|
author | Stefan Wahren <wahrenst@gmx.net> | Sat Aug 24 16:09:47 2019 +0200 |
committer | Thierry Reding <thierry.reding@gmail.com> | Sat Sep 21 01:23:24 2019 +0200 |
tree | c1ac2e079816199282863b70bcf9cebd3ec56723 | |
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 <wahrenst@gmx.net> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>