Skip to content

Commit bdc83e0

Browse files
committed
Merge tag 'gpio-fixes-for-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
Pull gpio fixes from Bartosz Golaszewski: - use raw_spinlocks in regmaps that are used in interrupt context in gpio-104-idi-48 and gpio-104-dio-48e * tag 'gpio-fixes-for-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: gpio: 104-idi-48: Enable use_raw_spinlock for idi48_regmap_config gpio: 104-dio-48e: Enable use_raw_spinlock for dio48e_regmap_config
2 parents a14e151 + 2ce987d commit bdc83e0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/gpio/gpio-104-dio-48e.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ static const struct regmap_config dio48e_regmap_config = {
8686
.volatile_table = &dio48e_volatile_table,
8787
.precious_table = &dio48e_precious_table,
8888
.cache_type = REGCACHE_FLAT,
89+
.use_raw_spinlock = true,
8990
};
9091

9192
/* only bit 3 on each respective Port C supports interrupts */

drivers/gpio/gpio-104-idi-48.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ static const struct regmap_config idi48_regmap_config = {
8181
.wr_table = &idi_48_wr_table,
8282
.rd_table = &idi_48_rd_table,
8383
.precious_table = &idi_48_precious_table,
84+
.use_raw_spinlock = true,
8485
};
8586

8687
#define IDI48_NGPIO 48

0 commit comments

Comments
 (0)