diff options
author | Julia Cartwright <julia@ni.com> | 2017-03-09 19:21:59 +0300 |
---|---|---|
committer | Peter Rosin <peda@axentia.se> | 2017-03-16 01:22:43 +0300 |
commit | 743cc37561188e222eff5200d4507eabcccf9d41 (patch) | |
tree | d4beb7c8e16a88ba2ff11e5bdb0bd2979add5af3 /scripts/gdb/linux/utils.py | |
parent | 4495c08e84729385774601b5146d51d9e5849f81 (diff) | |
download | linux-743cc37561188e222eff5200d4507eabcccf9d41.tar.xz |
i2c: mux: pca954x: make use of raw_spinlock variants
The pca954x i2c mux driver currently implements an irq_chip for handling
interrupts; due to how irq_chip handling is done, it's necessary for the
irq_chip methods to be invoked from hardirq context, even on a a
real-time kernel. Because the spinlock_t type becomes a "sleeping"
spinlock w/ RT kernels, it is not suitable to be used with irq_chips.
A quick audit of the operations under the lock reveal that they do only
minimal, bounded work, and are therefore safe to do under a raw spinlock.
Signed-off-by: Julia Cartwright <julia@ni.com>
Signed-off-by: Peter Rosin <peda@axentia.se>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions