mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-16 02:14:58 +00:00
gpio: 104-idi-48: Enable use_raw_spinlock for idi48_regmap_config
The idi48 regmap can be used in an interrupt context by regmap-irq. To prevent a deadlock, enable use_raw_spinlock for idi48_regmap_config. Fixes: e28432a77365 ("gpio: 104-idi-48: Migrate to the regmap-irq API") Signed-off-by: William Breathitt Gray <william.gray@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
parent
01407940f9
commit
2ce987d7ee
@ -81,6 +81,7 @@ static const struct regmap_config idi48_regmap_config = {
|
||||
.wr_table = &idi_48_wr_table,
|
||||
.rd_table = &idi_48_rd_table,
|
||||
.precious_table = &idi_48_precious_table,
|
||||
.use_raw_spinlock = true,
|
||||
};
|
||||
|
||||
#define IDI48_NGPIO 48
|
||||
|
Loading…
x
Reference in New Issue
Block a user