diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-09 10:25:51 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-09 13:31:49 +0100 |
commit | 5422f4321640bb90fbdcd09c2486ee1da06dd443 (patch) | |
tree | b0cb5a16a76a96d44ef53639f9f8748d00469f57 /drivers/clocksource/hyperv_timer.c | |
parent | 5a23e3e9e245f6ee3fb9411b94fb0f2341987328 (diff) |
thunderbolt: Don't display nvm_version unless upgrade supported
[ Upstream commit e34f1717ef0632fcec5cb827e5e0e9f223d70c9b ]
The read will never succeed if NVM wasn't initialized due to an unknown
format.
Add a new callback for visibility to only show when supported.
Cc: stable@vger.kernel.org
Fixes: aef9c693e7e5 ("thunderbolt: Move vendor specific NVM handling into nvm.c")
Reported-by: Richard Hughes <hughsient@gmail.com>
Closes: https://github.com/fwupd/fwupd/issues/8200
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/clocksource/hyperv_timer.c')
0 files changed, 0 insertions, 0 deletions