diff options
author | Chanho Park <[email protected]> | 2021-01-21 12:00:09 +0900 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-01-23 23:33:35 +0100 |
commit | 1f306ecbe0f66681bd87a2bb9013630233a32f7f (patch) | |
tree | b2e6255004453f22125882ed319f6ce1620b6c70 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cd4919105c8f36378afba4cf0e9c869d523b4d6d (diff) |
pinctrl: samsung: use raw_spinlock for locking
This patch converts spin_[lock|unlock] functions of pin bank to
raw_spinlock to support preempt-rt. This can avoid BUG() assertion when
irqchip callbacks are triggerred. Spinlocks can be converted rt_mutex
which is preemptible when we apply preempt-rt patches.
According to "Documentation/driver-api/gpio/driver.rst",
"Realtime considerations: a realtime compliant GPIO driver should not
use spinlock_t or any sleepable APIs (like PM runtime) as part of its
irqchip implementation.
- spinlock_t should be replaced with raw_spinlock_t.[1]
"
Cc: Tomasz Figa <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Sylwester Nawrocki <[email protected]>
Cc: Linus Walleij <[email protected]>
Signed-off-by: Chanho Park <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions