summaryrefslogtreecommitdiff
path: root/scripts/tools-support-relr.sh
diff options
context:
space:
mode:
authorDave Penkler <dpenkler@gmail.com>2026-04-22 09:48:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-23 13:47:33 +0200
commit7c19b47f5a1839817e5ddc5ba589224fcfb6255d (patch)
tree03c7fe9dc49d47261cf2797b702c237188c94ae5 /scripts/tools-support-relr.sh
parent4f2d31d243b465a5ee7750356e956bf479e5603f (diff)
downloadlinux-next-7c19b47f5a1839817e5ddc5ba589224fcfb6255d.tar.gz
linux-next-7c19b47f5a1839817e5ddc5ba589224fcfb6255d.zip
gpib: Suppress setting END on error from NI_USB dongle
The NI USB adapter sets the END bit in the status word when an error occurs such as a read being interrupted by the setting of ATN. This happens for example when a device clear is received from the controller in charge during a read. The common driver changes the error return to 0 whenever the END bit is set in order to avoid errors such as timeout or interrupt to be reported after the full message has actually been read. The behaviour of the NI USB adapter in setting the END bit on errors was causing actual errors (-EINTR, -ETIMEDOUT) not to be reported. We avoid setting the END bit in the ni_usb_gpib driver when an error is reported in error_code of the status from the adaptor. Signed-off-by: Dave Penkler <dpenkler@gmail.com> Link: https://patch.msgid.link/20260422074807.3194-1-dpenkler@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/tools-support-relr.sh')
0 files changed, 0 insertions, 0 deletions