diff options
author | Roger Quadros <[email protected]> | 2014-01-08 12:45:33 +0530 |
---|---|---|
committer | Lee Jones <[email protected]> | 2014-01-21 08:29:01 +0000 |
commit | 76a0775d46da052f123b8598a3dfc3b330b8de4f (patch) | |
tree | 87888ffb32af1071d1e242ff43dc7848a03edbb0 /tools/perf/util/trace-event-scripting.c | |
parent | 3b1ba0cbcc1bc16b39dbd6cc4585a1d365f351f3 (diff) |
mfd: omap-usb-tll: Don't hold lock during pm_runtime_get/put_sync()
pm_runtime_get/put_sync() can sleep so don't hold spinlock while
calling them.
This patch prevents a BUG() during system suspend when
CONFIG_DEBUG_ATOMIC_SLEEP is enabled.
Bug is present in Kernel versions v3.9 onwards.
Reported-by: Tomi Valkeinen <[email protected]>
Signed-off-by: Roger Quadros <[email protected]>
Tested-by: Tomi Valkeinen <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions