summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrian Masney <bmasney@redhat.com>2025-08-11 11:17:53 -0400
committerBrian Masney <bmasney@redhat.com>2025-09-08 09:41:25 -0400
commit47b13635dabc14f1c2fdcaa5468b47ddadbdd1b5 (patch)
treef66a1cdab200a35a1e20bedc47dba43697c376fa /tools/perf/scripts/python
parent0f9cf96a01fd8cb690292a5c24fbfda5c6dd47b2 (diff)
clk: at91: peripheral: fix return value
determine_rate() is expected to return an error code, or 0 on success. clk_sam9x5_peripheral_determine_rate() has a branch that returns the parent rate on a certain case. This is the behavior of round_rate(), so let's go ahead and fix this by setting req->rate. Fixes: b4c115c76184f ("clk: at91: clk-peripheral: add support for changeable parent rate") Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions