diff options
author | Ben Whitten <[email protected]> | 2016-11-14 15:13:20 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2016-11-15 18:51:35 +0000 |
commit | 39fe33f98b64501f5816f743c052215e7f66700b (patch) | |
tree | e936993c3f9cfa8719453b554154b70a6a4c1924 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 9610620078a3900e7fad82de620ce809fd29ba60 (diff) |
spi: atmel: Fix scheduling while atomic
A call to clk_get_rate appears to be called in the context of an interrupt,
cache the bus clock for the frequency calculations in transmission.
This fixes a 'BUG: scheduling while atomic' and
'WARNING: CPU: 0 PID: 777 at kernel/sched/core.c:2960 atmel_spi_unlock'
Signed-off-by: Ben Whitten <[email protected]>
Signed-off-by: Steve deRosier <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions