Message ID | 20240329144318.376939-1-dlechner@baylibre.com |
---|---|
State | New |
Headers | show |
Series | Documentation: gpio: fix typo | expand |
On Fri, Mar 29, 2024 at 3:43 PM David Lechner <dlechner@baylibre.com> wrote: > > EOPNOTSUPP has two 'P's. > > Signed-off-by: David Lechner <dlechner@baylibre.com> > --- > 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
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
EOPNOTSUPP has two 'P's. Signed-off-by: David Lechner <dlechner@baylibre.com> --- Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)