Commit 2ce987d7 authored by William Breathitt Gray's avatar William Breathitt Gray Committed by Bartosz Golaszewski

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: e28432a7 ("gpio: 104-idi-48: Migrate to the regmap-irq API")
Signed-off-by: default avatarWilliam Breathitt Gray <william.gray@linaro.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 01407940
...@@ -81,6 +81,7 @@ static const struct regmap_config idi48_regmap_config = { ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment