dm: gpio: Return error when pull up/down is requested but set_flags ops is not implme...
authorZixun LI <admin@hifiphile.com>
Mon, 21 Oct 2024 15:04:51 +0000 (17:04 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 4 Dec 2024 20:11:43 +0000 (14:11 -0600)
commit3c69a95b9a84f629cb6e5215158f9332a731aae9
tree9b2e16ef8dffca7dc271e2202c559067d4181de9
parent15299fa5dd8985759b705c7b06d7430924ba2407
dm: gpio: Return error when pull up/down is requested but set_flags ops is not implmentated

Currently in _dm_gpio_set_flags() when set_flags ops is not implemented
direction_output()/_input() is used, but pull up/down is not supported by
these ops.

Signed-off-by: Zixun LI <admin@hifiphile.com>
drivers/gpio/gpio-uclass.c