Skip to content
Unverified Commit ec757001 authored by Linus Walleij's avatar Linus Walleij Committed by Mark Brown
Browse files

gpio: Enable nonexclusive gpiods from DT nodes



This makes gpiod_get_from_of_node() respect the
GPIOD_FLAGS_BIT_NONEXCLUSIVE flag which is especially
nice when getting regulator GPIOs right out of device
tree nodes.

Suggested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Fixes: b0ce7b29

 ("regulator/gpio: Allow nonexclusive GPIO access")
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d03c63db
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment