提交 2ce987d7 编写于 作者: W William Breathitt Gray 提交者: 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: NWilliam Breathitt Gray <william.gray@linaro.org>
Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NBartosz Golaszewski <bartosz.golaszewski@linaro.org>
上级 01407940
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册