Skip to content
Commit 07192f1d authored by Mika Westerberg's avatar Mika Westerberg Committed by Liwei Song
Browse files

thunderbolt: Handle ERR_LOCK notification



commit 80e7c5dd upstream.

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: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarLiwei Song <liwei.song@windriver.com>
parent ff4fe4ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment