aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGwendal Grignou <[email protected]>2020-06-30 08:37:30 -0700
committerJonathan Cameron <[email protected]>2020-11-01 15:22:45 +0000
commit56e4f2dda23c6d39d327944faa89efaa4eb290d1 (patch)
treee6f1a0feaf80eb2489aef5aa18b6fe6bf76c9ade /tools/perf/scripts/python/exported-sql-viewer.py
parent7e97e4cbf30026b49b0145c3bfe06087958382c5 (diff)
iio: cros_ec: Use default frequencies when EC returns invalid information
Minimal and maximal frequencies supported by a sensor is queried. On some older machines, these frequencies are not returned properly and the EC returns 0 instead. When returned maximal frequency is 0, ignore the information and use default frequencies instead. Fixes: ae7b02ad2f32 ("iio: common: cros_ec_sensors: Expose cros_ec_sensors frequency range via iio sysfs") Signed-off-by: Gwendal Grignou <[email protected]> Reviewed-by: Enric Balletbo i Serra <[email protected]> Link: https://lore.kernel.org/r/[email protected] CC: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions