diff options
author | 2023-02-23 15:07:43 -0600 | |
---|---|---|
committer | 2023-03-14 16:15:45 +0200 | |
commit | ebde5ba27c640e08e92c83fe30be0d9fa224eea9 (patch) | |
tree | 38103316efac6a1dba1d0514e176716baa836c53 /drivers/thunderbolt/acpi.c | |
parent | thunderbolt: use `tb_eeprom_get_drom_offset` to discover DROM offset (diff) | |
download | linux-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