mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 01:09:38 -05: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: e28432a773
("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
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ static const struct regmap_config idi48_regmap_config = {
|
||||||
.wr_table = &idi_48_wr_table,
|
.wr_table = &idi_48_wr_table,
|
||||||
.rd_table = &idi_48_rd_table,
|
.rd_table = &idi_48_rd_table,
|
||||||
.precious_table = &idi_48_precious_table,
|
.precious_table = &idi_48_precious_table,
|
||||||
|
.use_raw_spinlock = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define IDI48_NGPIO 48
|
#define IDI48_NGPIO 48
|
||||||
|
|
Loading…
Add table
Reference in a new issue