diff options
author | Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> | 2020-07-17 21:46:06 -0700 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-07-30 11:27:13 +0200 |
commit | 6ced5ff0be8e94871ba846dfbddf69d21363f3d7 (patch) | |
tree | 24be270333a2620ee11bdb3cde58769dc54f2c90 /tools/build/Makefile | |
parent | 216a094de2521099e4ae04c5d07d8603ef9b24f1 (diff) |
pwm: bcm-iproc: handle clk_get_rate() return
Handle clk_get_rate() returning 0 to avoid possible division by zero.
Fixes: daa5abc41c80 ("pwm: Add support for Broadcom iProc PWM controller")
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/build/Makefile')
0 files changed, 0 insertions, 0 deletions