diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2019-12-11 03:40:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-19 19:54:13 +0100 |
commit | c28e8ecf8bac562972ca969527fce914a430ca10 (patch) | |
tree | 0e8e7d2a41062eaafa6324408eaae5fed0c1e7a9 /net/core/dev.c | |
parent | 0f663d1c7a4cc6405982799f598cf46a0f994b2a (diff) |
gpio: add gpiod_toggle_active_low()
[ Upstream commit d3a5bcb4a17f1ad072484bb92c42519ff3aba6e1 ]
Add possibility to toggle active-low flag of a gpio descriptor. This is
useful for compatibility code, where defaults are inverted vs DT gpio
flags or the active-low flag is taken from elsewhere.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Link: https://lore.kernel.org/r/7ce0338e01ad17fa5a227176813941b41a7c35c1.1576031637.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions