diff options
| author | Rengarajan S <[email protected]> | 2024-12-05 13:36:26 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-01-08 14:47:39 +0000 |
| commit | c7a5378a0f707686de3ddb489f1653c523bb7dcc (patch) | |
| tree | 9a2f1614a208f7d298c7c13d5a48e24e94cb221f /tools/testing/selftests/net/lib/py/utils.py | |
| parent | misc: microchip: pci1xxxx: Resolve kernel panic during GPIO IRQ handling (diff) | |
| download | kernel-c7a5378a0f707686de3ddb489f1653c523bb7dcc.tar.gz kernel-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 <[email protected]>
Signed-off-by: Rengarajan S <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
