[PATCH 0/8] staging: gpib: Fixes and cleanup for gpio driver

From: Dave Penkler
Date: Fri Apr 18 2025 - 13:35:05 EST


This set of patches addresses a number of fixes and cleanups for
the gpio bitbang driver.

Patch 1 Fixes the faulty implementation of the request_system_control
function.
Patch 2 Moves the code for setting the controller-in-charge to the
correct function as per the standard.
Patch 3 Defers enabling the SRQ irq to when becoming system controller.
Patch 4 Removes need for cumbersome setup for the activity led with
the yoga board.
Patch 5 Removes a no longer needed workaround for missed irqs.
Patch 6 Corrects the error return for no listeners so that the user
library reports the appropriate user error code.
Patch 7 Improves the code for the allocate_gpios function
Patch 8 Fixes potential hangs due to undefined control line state
on initialization.


Dave Penkler (8):
staging: gpib: Fix request_system_control in gpio
staging: gpib: Fix setting controller-in-charge
staging: gpib: Enable SRQ irq on request_system_control
staging: gpib: Remove dependency on LED subsystem
staging: gpib: Remove atn_asserted global variable
staging: gpib: Change error code for no listener
staging: gpib: Cleanup allocate_gpios code
staging: gpib: Set control lines in attach

drivers/staging/gpib/gpio/gpib_bitbang.c | 102 +++++++++++------------
1 file changed, 49 insertions(+), 53 deletions(-)

--
2.49.0