From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Kent Gibson <warthog618@gmail.com>,
Linus Walleij <linus.walleij@linaro.org>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Viresh Kumar <viresh.kumar@linaro.org>
Cc: linux-gpio@vger.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Subject: [libgpiod][PATCH 0/2] bindings: cxx: fix potential glitch in gpiosetcxx
Date: Mon, 12 Jun 2023 16:56:51 +0200 [thread overview]
Message-ID: <20230612145653.138615-1-brgl@bgdev.pl> (raw)
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Kent,
This is an alternative approach to the problem you raised with your gpioset
patches. It adds a new helper method that allows to set all output values at
request-time using the line_config's set_output_values() method.
Please take a look and let me know what you think.
Bart
Bartosz Golaszewski (2):
bindings: cxx: provide request_builder::set_output_values()
bindings: cxx: examples: fix potential glitch in gpiosetcxx
bindings/cxx/examples/gpiosetcxx.cpp | 3 +--
bindings/cxx/gpiodcxx/request-builder.hpp | 8 ++++++++
bindings/cxx/request-builder.cpp | 8 ++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
--
2.39.2
next reply other threads:[~2023-06-12 14:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 14:56 Bartosz Golaszewski [this message]
2023-06-12 14:56 ` [libgpiod][PATCH 1/2] bindings: cxx: provide request_builder::set_output_values() Bartosz Golaszewski
2023-06-12 14:56 ` [libgpiod][PATCH 2/2] bindings: cxx: examples: fix potential glitch in gpiosetcxx Bartosz Golaszewski
2023-06-12 15:06 ` [libgpiod][PATCH 0/2] bindings: cxx: " Kent Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230612145653.138615-1-brgl@bgdev.pl \
--to=brgl@bgdev.pl \
--cc=andriy.shevchenko@linux.intel.com \
--cc=bartosz.golaszewski@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=viresh.kumar@linaro.org \
--cc=warthog618@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.