diff options
author | Rengarajan S <rengarajan.s@microchip.com> | 2024-12-05 19:06:26 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-08 15:47:39 +0100 |
commit | c7a5378a0f707686de3ddb489f1653c523bb7dcc (patch) | |
tree | 9a2f1614a208f7d298c7c13d5a48e24e94cb221f /scripts/generate_rust_analyzer.py | |
parent | 194f9f94a5169547d682e9bbcc5ae6d18a564735 (diff) | |
download | lwn-c7a5378a0f707686de3ddb489f1653c523bb7dcc.tar.gz lwn-c7a5378a0f707686de3ddb489f1653c523bb7dcc.zip |
misc: microchip: pci1xxxx: Resolve return code mismatch during GPIO set config
Driver returns -EOPNOTSUPPORTED on unsupported parameters case in set
config. Upper level driver checks for -ENOTSUPP. Because of the return
code mismatch, the ioctls from userspace fail. Resolve the issue by
passing -ENOTSUPP during unsupported case.
Fixes: 7d3e4d807df2 ("misc: microchip: pci1xxxx: load gpio driver for the gpio controller auxiliary device enumerated by the auxiliary bus driver.")
Cc: stable <stable@kernel.org>
Signed-off-by: Rengarajan S <rengarajan.s@microchip.com>
Link: https://lore.kernel.org/r/20241205133626.1483499-3-rengarajan.s@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions