diff options
author | John Keeping <john@metanate.com> | 2017-03-23 11:59:31 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-03-28 11:18:50 +0200 |
commit | 88bb94216f59e10802aaf78c858a4146085faf18 (patch) | |
tree | d096b789e02460b33c2e9f20334ad008a8262fd0 /drivers/parport/share.c | |
parent | pinctrl: rockchip: split out verification of mux settings (diff) | |
download | linux-88bb94216f59e10802aaf78c858a4146085faf18.tar.xz linux-88bb94216f59e10802aaf78c858a4146085faf18.zip |
pinctrl: rockchip: avoid hardirq-unsafe functions in irq_chip
With real-time preemption, regmap functions cannot be used in the
implementation of irq_chip since they use spinlocks which may sleep.
Move the setting of the mux for IRQs to an irq_bus_sync_unlock handler
where we are allowed to sleep.
Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/parport/share.c')
0 files changed, 0 insertions, 0 deletions