diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2022-10-07 18:12:02 +0300 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2023-06-09 12:07:23 +0300 |
commit | 12a14f2fca32332d065b64f6f654fa332c90475e (patch) | |
tree | be65f248340f6a6fbfcc7097a5b22cf30c1238a6 /drivers/thunderbolt/debugfs.c | |
parent | ef34add89ee4d1473bd0e78f551efa6fc1feb0cd (diff) | |
download | lwn-12a14f2fca32332d065b64f6f654fa332c90475e.tar.gz lwn-12a14f2fca32332d065b64f6f654fa332c90475e.zip |
thunderbolt: Move CLx support functions into clx.c
There really don't belong to switch.c so move them into their own file.
As we do this rename the functions to match the conventions used
elsewhere in the driver.
No functional changes.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/debugfs.c')
-rw-r--r-- | drivers/thunderbolt/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/debugfs.c b/drivers/thunderbolt/debugfs.c index f92ad71ef983..e376ad25bf60 100644 --- a/drivers/thunderbolt/debugfs.c +++ b/drivers/thunderbolt/debugfs.c @@ -570,7 +570,7 @@ static int margining_run_write(void *data, u64 val) * CL states may interfere with lane margining so inform the user know * and bail out. */ - if (tb_port_is_clx_enabled(port, TB_CL1 | TB_CL2)) { + if (tb_port_clx_is_enabled(port, TB_CL1 | TB_CL2)) { tb_port_warn(port, "CL states are enabled, Disable them with clx=0 and re-connect\n"); ret = -EINVAL; |