diff options
author | 2010-01-12 18:55:35 +0530 | |
---|---|---|
committer | 2010-02-04 13:30:08 -0800 | |
commit | 3b43cd6f2dcbf871b8cabe16ae4ac8c036c959ac (patch) | |
tree | 064252da18333283fc12e088f37b94fc6c74e24e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Add SDA and SCL pin numbers to i2c platform data (diff) | |
download | wireguard-linux-3b43cd6f2dcbf871b8cabe16ae4ac8c036c959ac.tar.xz wireguard-linux-3b43cd6f2dcbf871b8cabe16ae4ac8c036c959ac.zip |
davinci: clock: let clk->set_rate function sleep
When supporting I2C/SPI based on-board PLLs like CDCE949,
it is essential that clk->set_rate be able to sleep.
Currently, this is not possible because clk->set_rate is
called from within spin-lock in clk_set_rate
This patch brings clk->set_rate outside of the spin-lock
and lets the individual set_rate implementations achieve
serialization through appropiate means.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions