diff options
| author | Mika Westerberg <[email protected]> | 2019-12-17 15:33:38 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-12-18 15:34:24 +0100 |
| commit | 4deb200d34a779aa336ddcd213e39eb6104eb78a (patch) | |
| tree | d4e446b1e18fcbb34a9aa7af775be700d655f82a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | 386e5e29d81cd088a1111277a18f13d571a6cea5 (diff) | |
thunderbolt: Call tb_eeprom_get_drom_offset() from tb_eeprom_read_n()
We are going to re-use tb_drom_read() for USB4 DROM reading as well.
USB4 has separate router operations for this which does not need the
drom_offset. Therefore we move call to tb_eeprom_get_drom_offset() into
tb_eeprom_read_n() where it is needed.
While there change return -ENOSYS to -ENODEV because the former is only
supposed to be used with system calls (invalid syscall nr).
Signed-off-by: Mika Westerberg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions