mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 11:33:28 +02:00
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>
This commit is contained in:
parent
34c5def565
commit
d80d926c5b
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -372,6 +372,7 @@ static int tb_switch_nvm_add(struct tb_switch *sw)
|
|||
ret = tb_nvm_add_active(nvm, nvm_read);
|
||||
if (ret)
|
||||
goto err_nvm;
|
||||
tb_sw_dbg(sw, "NVM version %x.%x\n", nvm->major, nvm->minor);
|
||||
}
|
||||
|
||||
if (!sw->no_nvm_upgrade) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user