1
0
Fork 0
alistair23-linux/drivers/pinctrl/bcm
Julia Cartwright cb96a66243 pinctrl: bcm: make use of raw_spinlock variants
The bcm pinctrl drivers currently implement 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: Linus Walleij <linus.walleij@linaro.org>
2017-03-16 16:39:14 +01:00
..
Kconfig scripts/spelling.txt: add "overrided" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
Makefile pinctrl: nsp: add pinmux driver support for Broadcom NSP SoC 2016-06-29 10:06:00 +02:00
pinctrl-bcm281xx.c pinctrl: Widen the generic pinconf argument from 16 to 24 bits 2017-01-26 15:22:32 +01:00
pinctrl-bcm2835.c ARM: DT updates for v4.10 2016-12-15 15:50:24 -08:00
pinctrl-cygnus-mux.c pinctrl: cygnus-mux: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:02:00 +02:00
pinctrl-iproc-gpio.c pinctrl: bcm: make use of raw_spinlock variants 2017-03-16 16:39:14 +01:00
pinctrl-ns2-mux.c pinctrl: Widen the generic pinconf argument from 16 to 24 bits 2017-01-26 15:22:32 +01:00
pinctrl-nsp-gpio.c pinctrl: bcm: make use of raw_spinlock variants 2017-03-16 16:39:14 +01:00
pinctrl-nsp-mux.c pinctrl: nsp: constify pinctrl_ops and pinmux_ops structures 2016-09-07 22:40:40 +02:00