Files
linux-stable-mirror/drivers/misc
Rengarajan S 5e8f68a413 misc: microchip: pci1xxxx: Resolve return code mismatch during GPIO set config
commit c7a5378a0f upstream.

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: 7d3e4d807d ("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>
2025-01-17 13:40:53 +01:00
..
2024-09-11 16:02:50 +02:00
2024-09-03 12:37:29 +02:00
2024-10-29 04:01:40 +01:00
2024-09-09 08:36:23 +02:00
2024-08-13 11:27:38 +02:00