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

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'gpio-fixes-for-v6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux

Pull gpio fixes from Bartosz Golaszewski:

- mark virtual chips exposed by gpio-sim as ones that can sleep
(callbacks must not be called from interrupt context)

- fix an off-by-one error in gpio-ws16c48

* tag 'gpio-fixes-for-v6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
gpio: ws16c48: Fix off-by-one error in WS16C48 resource region extent
gpio: sim: mark the GPIO chip as a one that can sleep

+2 -1
+1
drivers/gpio/gpio-sim.c
··· 429 429 gc->set_config = gpio_sim_set_config; 430 430 gc->to_irq = gpio_sim_to_irq; 431 431 gc->free = gpio_sim_free; 432 + gc->can_sleep = true; 432 433 433 434 ret = devm_gpiochip_add_data(dev, gc, chip); 434 435 if (ret)
+1 -1
drivers/gpio/gpio-ws16c48.c
··· 18 18 #include <linux/spinlock.h> 19 19 #include <linux/types.h> 20 20 21 - #define WS16C48_EXTENT 10 21 + #define WS16C48_EXTENT 11 22 22 #define MAX_NUM_WS16C48 max_num_isa_dev(WS16C48_EXTENT) 23 23 24 24 static unsigned int base[MAX_NUM_WS16C48];