mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
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>
This commit is contained in:
committed by
Bartosz Golaszewski
parent
3473765920
commit
42969726a1
@@ -37,7 +37,8 @@ line or introducing potential glitches.
|
||||
|
||||
The new configuration must specify the configuration of all requested lines.
|
||||
|
||||
The same :ref:`gpio-v2-get-line-config-rules` that apply when requesting the lines
|
||||
The same :ref:`gpio-v2-get-line-config-rules` and
|
||||
:ref:`gpio-v2-get-line-config-support` that apply when requesting the lines
|
||||
also apply when updating the line configuration.
|
||||
|
||||
The motivating use case for this command is changing direction of
|
||||
|
||||
Reference in New Issue
Block a user