diff options
| author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2024-04-10 16:47:51 +0300 |
|---|---|---|
| committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2024-04-19 07:52:38 +0300 |
| commit | 668906cf88d5f0c6f124cf4d7d61c38693708681 (patch) | |
| tree | 7ba9bd5fe815aa7ba4e15d1b99d9649229070f87 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | 25d905d2b81973426b73ad943342dfda4e9a6fb5 (diff) | |
| download | linux-668906cf88d5f0c6f124cf4d7d61c38693708681.tar.xz | |
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: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
