Skip to content

Commit 5232334

Browse files
thom24Bartosz Golaszewski
authored andcommitted
gpio: aggregator: restore the set_config operation
Restore the set_config operation, as it was lost during the refactoring of the gpio-aggregator driver while creating the gpio forwarder library. Fixes: b31c68f ("gpio: aggregator: handle runtime registration of gpio_desc in gpiochip_fwd") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-lkp/[email protected] Signed-off-by: Thomas Richard <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/20250929-gpio-aggregator-fix-set-config-callback-v1-1-39046e1da609@bootlin.com Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 2f6115a commit 5232334

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpio/gpio-aggregator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,7 @@ struct gpiochip_fwd *devm_gpiochip_fwd_alloc(struct device *dev,
723723
chip->get_multiple = gpio_fwd_get_multiple_locked;
724724
chip->set = gpio_fwd_set;
725725
chip->set_multiple = gpio_fwd_set_multiple_locked;
726+
chip->set_config = gpio_fwd_set_config;
726727
chip->to_irq = gpio_fwd_to_irq;
727728
chip->base = -1;
728729
chip->ngpio = ngpios;

0 commit comments

Comments
 (0)