diff options
author | Kent Gibson <warthog618@gmail.com> | 2024-01-23 16:38:28 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-01-25 11:42:25 +0300 |
commit | 42969726a19f796f0e731ec74347fd8a0e4e91a2 (patch) | |
tree | 1765cae3feb5d2b52c780389d26ed39f027e60ee /Documentation/userspace-api/gpio/error-codes.rst | |
parent | 3473765920eaa4e7d71a0e4869937d2117bb0398 (diff) | |
download | linux-42969726a19f796f0e731ec74347fd8a0e4e91a2.tar.xz |
Documentation: gpio: describe uAPI behaviour for unsupported config
The existing uAPI documentation does not adequately describe how the kernel
handles the case where the underlying hardware or driver does not support
the requested configuration.
Add a Configuration Support section describing that behaviour to both the
v1 and v2 documentation, and better document the errors returned where the
requested configuration cannot be supported.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'Documentation/userspace-api/gpio/error-codes.rst')
-rw-r--r-- | Documentation/userspace-api/gpio/error-codes.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/userspace-api/gpio/error-codes.rst b/Documentation/userspace-api/gpio/error-codes.rst index edf01f2cf9d2..6bf2948990cd 100644 --- a/Documentation/userspace-api/gpio/error-codes.rst +++ b/Documentation/userspace-api/gpio/error-codes.rst @@ -65,7 +65,8 @@ GPIO Error Codes - - ``ENXIO`` - - No device corresponding to this device special file exists. + - Typically returned when a feature requiring interrupt support was + requested, but the line does not support interrupts. .. note:: |