aboutsummaryrefslogtreecommitdiff
path: root/include/linux/string_helpers.h
diff options
context:
space:
mode:
authorRayagonda Kokatanur <[email protected]>2020-07-17 21:46:06 -0700
committerThierry Reding <[email protected]>2020-07-30 11:27:13 +0200
commit6ced5ff0be8e94871ba846dfbddf69d21363f3d7 (patch)
tree24be270333a2620ee11bdb3cde58769dc54f2c90 /include/linux/string_helpers.h
parent216a094de2521099e4ae04c5d07d8603ef9b24f1 (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