Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

William Breathitt Gray and committed by
Bartosz Golaszewski
2ce987d7 01407940

+1
+1
drivers/gpio/gpio-104-idi-48.c
··· 81 81 .wr_table = &idi_48_wr_table, 82 82 .rd_table = &idi_48_rd_table, 83 83 .precious_table = &idi_48_precious_table, 84 + .use_raw_spinlock = true, 84 85 }; 85 86 86 87 #define IDI48_NGPIO 48