summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorBarnabás Czémán <barnabas.czeman@mainlining.org>2024-10-06 23:51:58 +0300
committerBjorn Andersson <andersson@kernel.org>2024-10-15 02:51:29 +0300
commite02bfea4d7ef587bb285ad5825da4e1973ac8263 (patch)
tree575f706076d8cae89d2b1c45e317bb31d43a4617 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentf903663a8dcd6e1656e52856afbf706cc14cbe6d (diff)
downloadlinux-e02bfea4d7ef587bb285ad5825da4e1973ac8263.tar.xz
clk: qcom: clk-alpha-pll: Fix pll post div mask when width is not set
Many qcom clock drivers do not have .width set. In that case value of (p)->width - 1 will be negative which breaks clock tree. Fix this by checking if width is zero, and pass 3 to GENMASK if that's the case. Fixes: 1c3541145cbf ("clk: qcom: support for 2 bit PLL post divider") Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Christopher Obbard <christopher.obbard@linaro.org> Tested-by: Christopher Obbard <christopher.obbard@linaro.org> Link: https://lore.kernel.org/r/20241006-fix-postdiv-mask-v3-1-160354980433@mainlining.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions