Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 823fb483 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Greg Kroah-Hartman
Browse files

pinctrl: baytrail: Enable pin configuration setting for GPIO chip



[ Upstream commit ccd025eaddaeb99e982029446197c544252108e2 ]

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: c501d0b1 ("pinctrl: baytrail: Add pin control operations")
Depends-on: 2956b5d9 ("pinctrl / gpio: Introduce .set_config() callback for GPIO chips")
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ecf4cb65
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1495,6 +1495,7 @@ static const struct gpio_chip byt_gpio_chip = {
	.direction_output	= byt_gpio_direction_output,
	.get			= byt_gpio_get,
	.set			= byt_gpio_set,
	.set_config		= gpiochip_generic_config,
	.dbg_show		= byt_gpio_dbg_show,
};