diff options
| author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2017-06-06 15:24:55 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-09 11:42:41 +0200 |
| commit | df1421b5f72979e48096f68c253f59aa7e8e7468 (patch) | |
| tree | 5a456484095181ef3a2cb3bb0152b377fa707200 /tools/perf/scripts/python | |
| parent | thunderbolt: No need to read UID of the root switch on resume (diff) | |
| download | linux-df1421b5f72979e48096f68c253f59aa7e8e7468.tar.gz linux-df1421b5f72979e48096f68c253f59aa7e8e7468.zip | |
thunderbolt: Do not try to read UID if DROM offset is read as 0
At least Falcon Ridge when in host mode does not have any kind of DROM
available and reading DROM offset returns 0 for these. Do not try to
read DROM any further in that case.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Reviewed-by: Michael Jamet <michael.jamet@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
