diff options
| author | Dave Penkler <[email protected]> | 2025-09-28 11:33:59 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-10-13 08:54:44 +0000 |
| commit | aaf2af1ed147ef49be65afb541a67255e9f60d15 (patch) | |
| tree | 892fd8b559c7c2a6f0cbdbedc52bb85564b75a32 /scripts/basic/docproc.c | |
| parent | staging: gpib: Fix sending clear and trigger events (diff) | |
| download | kernel-aaf2af1ed147ef49be65afb541a67255e9f60d15.tar.gz kernel-aaf2af1ed147ef49be65afb541a67255e9f60d15.zip | |
staging: gpib: Return -EINTR on device clear
When the ATN (Attention) line is asserted during a read we get a
NIUSB_ATN_STATE_ERROR during a read. For the controller to send a
device clear it asserts ATN. Normally this is an error but in the case
of a device clear it should be regarded as an interrupt.
Return -EINTR when the Device Clear Active State (DCAS) is entered
else signal an error with dev_dbg with status instead of just dev_err.
Signed-off-by: Dave Penkler <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
