Skip to content

Commit 75d9d7c

Browse files
dpenklergregkh
authored andcommitted
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: fce7951 ("staging: gpib: Add LPVO DIY USB GPIB driver") Signed-off-by: Dave Penkler <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a50ae5b commit 75d9d7c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,6 @@ static int usb_gpib_request_system_control(struct gpib_board *board, int request
916916
if (!request_control)
917917
return -EINVAL;
918918

919-
set_bit(CIC_NUM, &board->status);
920919
DIA_LOG(1, "done with %d -> %lx\n", request_control, board->status);
921920
return 0;
922921
}

0 commit comments

Comments
 (0)