]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: Fix request_system_control in gpio
authorDave Penkler <dpenkler@gmail.com>
Fri, 18 Apr 2025 17:34:27 +0000 (19:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 14:08:26 +0000 (16:08 +0200)
commit8ba7c33be02ca099470b3acc21f859b3be4d1d61
tree1ee6175f45de066214536cda4ea5e5f59a797306
parent9a7988fa4d80a49fa444f7717837ebfd35b34181
staging: gpib: Fix request_system_control in gpio

The implementation of the bb_request_system_control function
confused setting controller-in-charge with becoming system-controller.

Remove setting controller-in-charge and add initialization of the
control lines for the system-controller role.

Fixes: 4cd654f84769 ("staging: gpib: Add gpio bitbang GPIB driver")
Tested-by: Dave Penkler <dpenkler@gmail.com>
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250418173434.2892-2-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/gpio/gpib_bitbang.c