diff options
| author | Vidhu Sarwal <vidhu.linux@gmail.com> | 2026-07-15 06:45:44 +0530 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-08-07 23:51:04 +0100 |
| commit | ad367638212a9f2495ecfa59c886f0cfb7934e9c (patch) | |
| tree | a9f88f66a9869f48d2e2db34ee838b1f89244aaf /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 0ba0ed0d42ebd3144f0050c48374817f5f3f07d6 (diff) | |
iio: light: opt4060: Fix incorrect register name in threshold read error message
opt4060_get_thresholds() correctly reads OPT4060_THRESHOLD_HIGH, but
logs "Failed to read THRESHOLD_LOW." if the read fails. This is a
copy-and-paste mistake, as the preceding low-threshold read already uses
the correct error message.
Update the error message to reference OPT4060_THRESHOLD_HIGH.
Fixes: 0c6db4506ad0 ("iio: light: Add support for TI OPT4060 color sensor")
Signed-off-by: Vidhu Sarwal <vidhu.linux@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
