Skip to content

Commit ccd025e

Browse files
committed
pinctrl: baytrail: Enable pin configuration setting for GPIO chip
It appears that pin configuration for GPIO chip hasn't been enabled yet due to absence of ->set_config() callback. Enable it here for Intel Baytrail. Fixes: c501d0b ("pinctrl: baytrail: Add pin control operations") Depends-on: 2956b5d ("pinctrl / gpio: Introduce .set_config() callback for GPIO chips") Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Mika Westerberg <[email protected]>
1 parent 6b7275c commit ccd025e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pinctrl/intel/pinctrl-baytrail.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,6 +1286,7 @@ static const struct gpio_chip byt_gpio_chip = {
12861286
.direction_output = byt_gpio_direction_output,
12871287
.get = byt_gpio_get,
12881288
.set = byt_gpio_set,
1289+
.set_config = gpiochip_generic_config,
12891290
.dbg_show = byt_gpio_dbg_show,
12901291
};
12911292

0 commit comments

Comments
 (0)