All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] acpi: Tidy up documentation for struct acpi_gpio
@ 2021-01-23 18:08 Simon Glass
  2021-02-01  6:22 ` Bin Meng
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Glass @ 2021-01-23 18:08 UTC (permalink / raw)
  To: u-boot

Some comments were provided after this patch was applied. Address them.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 include/acpi/acpi_device.h | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/include/acpi/acpi_device.h b/include/acpi/acpi_device.h
index ed4acd912a1..2c8846250b6 100644
--- a/include/acpi/acpi_device.h
+++ b/include/acpi/acpi_device.h
@@ -171,10 +171,11 @@ enum acpi_gpio_polarity {
  * @io_restrict: I/O restriction setting
  * @polarity: GPIO polarity
  *
- * Note that GpioIo doesn't have any means of Active Low / High setting, so a
- * _DSD must be provided to mitigate this.
+ * Note that GpioIo() doesn't have any means of Active Low / High setting, so a
+ * _DSD must be provided to mitigate this. This parameter does not make sense
+ * for GpioInt() since it has its own means to define it.
  *
- * GpioIo doesn't properly communicate the initial state of the output pin,
+ * GpioIo() doesn't properly communicate the initial state of the output pin,
  * thus Linux assumes the simple rule:
  *
  * Pull Bias       Polarity      Requested...
@@ -184,7 +185,7 @@ enum acpi_gpio_polarity {
  *                               assuming non-active (Polarity = !Pull Bias)
  *
  * Down            Low           as low, assuming active
- * Down            High          as high, assuming non-active
+ * Down            High          as low, assuming non-active
  * Up              Low           as high, assuming non-active
  * Up              High          as high, assuming active
  *
-- 
2.30.0.280.ga3ce27912f-goog

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] acpi: Tidy up documentation for struct acpi_gpio
  2021-01-23 18:08 [PATCH] acpi: Tidy up documentation for struct acpi_gpio Simon Glass
@ 2021-02-01  6:22 ` Bin Meng
  2021-02-01  6:23   ` Bin Meng
  0 siblings, 1 reply; 3+ messages in thread
From: Bin Meng @ 2021-02-01  6:22 UTC (permalink / raw)
  To: u-boot

On Sun, Jan 24, 2021 at 2:08 AM Simon Glass <sjg@chromium.org> wrote:
>
> Some comments were provided after this patch was applied. Address them.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  include/acpi/acpi_device.h | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] acpi: Tidy up documentation for struct acpi_gpio
  2021-02-01  6:22 ` Bin Meng
@ 2021-02-01  6:23   ` Bin Meng
  0 siblings, 0 replies; 3+ messages in thread
From: Bin Meng @ 2021-02-01  6:23 UTC (permalink / raw)
  To: u-boot

On Mon, Feb 1, 2021 at 2:22 PM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> On Sun, Jan 24, 2021 at 2:08 AM Simon Glass <sjg@chromium.org> wrote:
> >
> > Some comments were provided after this patch was applied. Address them.
> >
> > Signed-off-by: Simon Glass <sjg@chromium.org>
> > ---
> >
> >  include/acpi/acpi_device.h | 9 +++++----
> >  1 file changed, 5 insertions(+), 4 deletions(-)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

applied to u-boot-x86, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-01  6:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-23 18:08 [PATCH] acpi: Tidy up documentation for struct acpi_gpio Simon Glass
2021-02-01  6:22 ` Bin Meng
2021-02-01  6:23   ` Bin Meng

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.