Skip to content
Commit eaa4c8f9 authored by Ryan Wanner's avatar Ryan Wanner Committed by Linus Walleij
Browse files

pinctrl: at91-pio4: Add persist state case in config



Adding persist state case to atmel_conf_pin_config_group_set() function.
After adding configuration support for userspace gpiod api, there was an
extra flag PIN_CONFIG_PERSIST_STATE that was not passed in before.

Based on other drivers like TI drivers, added a switch case and return
ENOTSUPP in that case.

Signed-off-by: default avatarRyan Wanner <Ryan.Wanner@microchip.com>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Tested-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20221007151647.98222-3-Ryan.Wanner@microchip.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent fcd76317
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment