gpio: mockup: fix indicated direction
[ Upstream commit bff466bac59994cfcceabe4d0be5fdc1c20cd5b8 ]
Commit 3edfb7bd76bd ("gpiolib: Show correct direction from the
beginning") fixed an existing issue but broke libgpiod tests by
changing the default direction of dummy lines to output.
We don't break user-space so make gpio-mockup behave as before.
Signed-off-by:
Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment