diff options
author | Rayagonda Kokatanur <[email protected]> | 2020-07-17 21:46:06 -0700 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2020-07-30 11:27:13 +0200 |
commit | 6ced5ff0be8e94871ba846dfbddf69d21363f3d7 (patch) | |
tree | 24be270333a2620ee11bdb3cde58769dc54f2c90 /include/linux/string_helpers.h | |
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 <[email protected]>
Signed-off-by: Scott Branden <[email protected]>
Reviewed-by: Ray Jui <[email protected]>
Reviewed-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'include/linux/string_helpers.h')
0 files changed, 0 insertions, 0 deletions