diff options
| author | Dan Carpenter <[email protected]> | 2024-02-22 09:14:25 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-02-28 19:26:36 +0000 |
| commit | debabbb1f272f6c21b468838a0cbafc5d2c90e8b (patch) | |
| tree | 74b0a564870cc3e7b5146636b505e64a34c4ea3b /tools/perf/scripts/python | |
| parent | 8243b2877eefe92f1022013601b8dfeb892b707a (diff) | |
iio: adc: ti-ads1298: Fix error code in probe()
There is a copy and paste bug here, it should be "reg_vref" instead of
"reg_avdd". The "priv->reg_avdd" variable is zero so it ends up
returning success.
Fixes: 00ef7708fa60 ("iio: adc: ti-ads1298: Add driver")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Mike Looijmans <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions