diff options
author | Karol Kolacinski <karol.kolacinski@intel.com> | 2024-09-30 15:12:38 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2025-02-10 19:52:04 +0300 |
commit | e2c6737e6e82e9991646cd5389391bb6d3572a68 (patch) | |
tree | d6f9851b51318cad2b8f5a9ddfed8c905cf146ad /tools/perf/scripts/python/stackcollapse.py | |
parent | 39f54262ba499d862420a97719d2f0eea0cbd394 (diff) | |
download | linux-e2c6737e6e82e9991646cd5389391bb6d3572a68.tar.xz |
ice: Don't check device type when checking GNSS presence
Don't check if the device type is E810T as non-E810T devices can support
GNSS too and PCA9575 check is enough to determine if GNSS is present or
not.
Rename ice_gnss_is_gps_present() to ice_gnss_is_module_present()
because GNSS module supports multiple GNSS providers, not only GPS.
Move functions related to PCA9575 from ice_ptp_hw.c to ice_common.c
to be able to access them when PTP is disabled in the kernel, but GNSS
is enabled.
Remove logical AND with ICE_AQC_LINK_TOPO_NODE_TYPE_M in
ice_get_pca9575_handle(), which has no effect, and reorder device type
checks to check the device_id first, then set other variables.
Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions