aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorAlexander Stein <[email protected]>2024-04-22 13:36:29 +0200
committerAndi Shyti <[email protected]>2024-05-06 00:56:31 +0200
commit4268254a39484fc11ba991ae148bacbe75d9cc0a (patch)
treeb3555d6d36f8f12ce3dc5829dc88bfbed1882833 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent355b1513b1e97b6cef84b786c6480325dfd3753d (diff)
i2c: lpi2c: Avoid calling clk_get_rate during transfer
Instead of repeatedly calling clk_get_rate for each transfer, lock the clock rate and cache the value. A deadlock has been observed while adding tlv320aic32x4 audio codec to the system. When this clock provider adds its clock, the clk mutex is locked already, it needs to access i2c, which in return needs the mutex for clk_get_rate as well. Signed-off-by: Alexander Stein <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions