]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: Fix lpvo request_system_control
authorDave Penkler <dpenkler@gmail.com>
Sat, 26 Apr 2025 15:03:19 +0000 (17:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 May 2025 15:55:01 +0000 (17:55 +0200)
commit75d9d7c29b7f00045d859226592f2917b31b997e
tree165ed9a7083caadc9776ac3accc2831dade9282a
parenta50ae5bc83d64387425a19aad05850585e9a6c11
staging: gpib: Fix lpvo request_system_control

The IEEE-488 GPIB standard was designed to ensure that there is only ever
one controller-in-charge on the bus at any one time. If a board becomes
controller-in-charge on request_system_control there is no way to ensure
that there is not another board also acting as controller-in-charge.
This can lead to bus conflicts and hangs.

Remove the setting of controller-in-charge from request_system_control.

Fixes: fce79512a96a ("staging: gpib: Add LPVO DIY USB GPIB driver")
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250426150319.5580-1-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c