diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-30 13:23:42 +0300 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2023-04-03 08:37:18 +0300 |
commit | 1f15af76784cc902a1fe85e864c7ddf3d74b4130 (patch) | |
tree | 1f122c6658ba2383c116a6bfe4e275351dd8f910 /drivers/thunderbolt/nhi.c | |
parent | 5d88366807fce55ab5bd1bf94055e1d1d0032604 (diff) | |
download | linux-stable-1f15af76784cc902a1fe85e864c7ddf3d74b4130.tar.gz linux-stable-1f15af76784cc902a1fe85e864c7ddf3d74b4130.tar.bz2 linux-stable-1f15af76784cc902a1fe85e864c7ddf3d74b4130.zip |
thunderbolt: Introduce usb4_port_sb_opcode_err_to_errno() helper
The usb4_port_sb_opcode_err_to_errno() converts from USB4 error codes
to the Linux errno space. In particular, this makes the intention
of the repeating usb4_port_retimer_read() call in the
usb4_port_retimer_nvm_authenticate_status() clearer.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/nhi.c')
0 files changed, 0 insertions, 0 deletions