diff options
| author | Gil Fine <gil.fine@linux.intel.com> | 2023-09-20 12:13:11 +0300 |
|---|---|---|
| committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2023-10-13 08:49:13 +0300 |
| commit | d80d926c5b6bcbcf7639b55caa38f3df7d978d0d (patch) | |
| tree | 090e1cb1684fc9bcffe6afa31c035cdc2f2cc18c /drivers/thunderbolt/retimer.c | |
| parent | thunderbolt: Use tb_tunnel_xxx() log macros in tb.c (diff) | |
| download | linux-d80d926c5b6bcbcf7639b55caa38f3df7d978d0d.tar.gz linux-d80d926c5b6bcbcf7639b55caa38f3df7d978d0d.zip | |
thunderbolt: Log NVM version of routers and retimers
This is useful when debugging possible issues.
Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/retimer.c')
| -rw-r--r-- | drivers/thunderbolt/retimer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thunderbolt/retimer.c b/drivers/thunderbolt/retimer.c index 47becb363ada..d49d6628dbf2 100644 --- a/drivers/thunderbolt/retimer.c +++ b/drivers/thunderbolt/retimer.c @@ -94,6 +94,7 @@ static int tb_retimer_nvm_add(struct tb_retimer *rt) goto err_nvm; rt->nvm = nvm; + dev_dbg(&rt->dev, "NVM version %x.%x\n", nvm->major, nvm->minor); return 0; err_nvm: |
