diff options
| author | Rayagonda Kokatanur <[email protected]> | 2020-07-18 04:46:06 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2020-07-30 09:27:13 +0000 |
| commit | 6ced5ff0be8e94871ba846dfbddf69d21363f3d7 (patch) | |
| tree | 24be270333a2620ee11bdb3cde58769dc54f2c90 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | pwm: Replace HTTP links with HTTPS ones (diff) | |
| download | kernel-6ced5ff0be8e94871ba846dfbddf69d21363f3d7.tar.gz kernel-6ced5ff0be8e94871ba846dfbddf69d21363f3d7.zip | |
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 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
