Skip to content
Commit 668906cf authored by Mika Westerberg's avatar Mika Westerberg
Browse files

thunderbolt: Use correct error code with ERROR_NOT_SUPPORTED



We check for -EOPNOTSUPP but tb_xdp_handle_error() translated it to
-ENOTSUPP instead which is dealt as "transient" error and retried after
a while. Fix this so that we bail out early when the other side clearly
tells us it is does not support this.

Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 25d905d2
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