aboutsummaryrefslogtreecommitdiff
path: root/drivers/thunderbolt/acpi.c
diff options
context:
space:
mode:
authorGravatar Mario Limonciello <mario.limonciello@amd.com> 2023-02-23 15:07:43 -0600
committerGravatar Mika Westerberg <mika.westerberg@linux.intel.com> 2023-03-14 16:15:45 +0200
commitebde5ba27c640e08e92c83fe30be0d9fa224eea9 (patch)
tree38103316efac6a1dba1d0514e176716baa836c53 /drivers/thunderbolt/acpi.c
parentthunderbolt: use `tb_eeprom_get_drom_offset` to discover DROM offset (diff)
downloadlinux-ebde5ba27c640e08e92c83fe30be0d9fa224eea9.tar.gz
linux-ebde5ba27c640e08e92c83fe30be0d9fa224eea9.tar.bz2
linux-ebde5ba27c640e08e92c83fe30be0d9fa224eea9.zip
thunderbolt: Refactor DROM reading
The NVM reading code has a series of gotos that potentially introduce unexpected behaviors with retries if something unexpected has failed to parse. Refactor the code to remove the gotos and drop the retry logic. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> [mw: renamed root switch to host router, split device handling too] Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/acpi.c')
0 files changed, 0 insertions, 0 deletions