diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2019-09-19 14:22:20 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-09-16 13:57:46 +0200 |
commit | 80e7c5dd1ee0e79e8690c13066d866a455193892 (patch) | |
tree | 7eea8678332338fb61e41c4c09086780911a89e7 /lib/locking-selftest-rlock-softirq.h | |
parent | thunderbolt: Use "if USB4" instead of "depends on" in Kconfig (diff) | |
download | linux-80e7c5dd1ee0e79e8690c13066d866a455193892.tar.xz linux-80e7c5dd1ee0e79e8690c13066d866a455193892.zip |
thunderbolt: Handle ERR_LOCK notification
If the USB4 router downstream port is locked, sending configuration
packet to a router below it causes ERR_LOCK to be sent. Instead of warn
splat about unknown error we log the error (just warning level) and
return -EACCESS instead. The idea is that we may want to do something
when such error code is received, like perform unlock.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'lib/locking-selftest-rlock-softirq.h')
0 files changed, 0 insertions, 0 deletions