aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2015-12-01 22:55:40 +0000
committerThierry Reding <thierry.reding@gmail.com>2015-12-16 16:45:10 +0100
commitfd13c14426299e75983a0cd3edf53dfa4083a70a (patch)
tree1698122b905b9bfbaa364b11dc38ad9ac435674b /tools/perf/scripts/python/export-to-postgresql.py
parentpwm: bcm2835: Calculate scaler in ->config() (diff)
downloadwireguard-linux-fd13c14426299e75983a0cd3edf53dfa4083a70a.tar.xz
wireguard-linux-fd13c14426299e75983a0cd3edf53dfa4083a70a.zip
pwm: bcm2835: Prevent division by zero
It's possible that the PWM clock becomes an orphan. So better check the result of clk_get_rate() in order to prevent a division by zero. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions