2024-03-29 16:23:43

by David Lechner

[permalink] [raw]
Subject: [PATCH] Documentation: gpio: fix typo

EOPNOTSUPP has two 'P's.

Signed-off-by: David Lechner <[email protected]>
---
Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst b/Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst
index 56b975801b6a..6615d6ced755 100644
--- a/Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst
+++ b/Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst
@@ -81,7 +81,7 @@ Only one event clock flag, ``GPIO_V2_LINE_FLAG_EVENT_CLOCK_xxx``, may be set.
If none are set then the event clock defaults to ``CLOCK_MONOTONIC``.
The ``GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE`` flag requires supporting hardware
and a kernel with ``CONFIG_HTE`` set. Requesting HTE from a device that
-doesn't support it is an error (**EOPNOTSUP**).
+doesn't support it is an error (**EOPNOTSUPP**).

The :c:type:`debounce_period_us<gpio_v2_line_attribute>` attribute may only
be applied to lines with ``GPIO_V2_LINE_FLAG_INPUT`` set. When set, debounce
--
2.43.2



2024-04-02 08:51:33

by Bartosz Golaszewski

[permalink] [raw]
Subject: Re: [PATCH] Documentation: gpio: fix typo

On Fri, Mar 29, 2024 at 3:43 PM David Lechner <[email protected]> wrote:
>
> EOPNOTSUPP has two 'P's.
>
> Signed-off-by: David Lechner <[email protected]>
> ---
> Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst b/Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst
> index 56b975801b6a..6615d6ced755 100644
> --- a/Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst
> +++ b/Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst
> @@ -81,7 +81,7 @@ Only one event clock flag, ``GPIO_V2_LINE_FLAG_EVENT_CLOCK_xxx``, may be set.
> If none are set then the event clock defaults to ``CLOCK_MONOTONIC``.
> The ``GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE`` flag requires supporting hardware
> and a kernel with ``CONFIG_HTE`` set. Requesting HTE from a device that
> -doesn't support it is an error (**EOPNOTSUP**).
> +doesn't support it is an error (**EOPNOTSUPP**).
>
> The :c:type:`debounce_period_us<gpio_v2_line_attribute>` attribute may only
> be applied to lines with ``GPIO_V2_LINE_FLAG_INPUT`` set. When set, debounce
> --
> 2.43.2
>

Applied, thanks!

Bart