diff options
| author | Michael Hennerich <michael.hennerich@analog.com> | 2022-04-06 12:56:20 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-12 12:20:19 +0200 |
| commit | b8ed00a6a6107a2482ec066909980d77c2609703 (patch) | |
| tree | cb3fe77e135966473747c7d8d729d3cc019653fd /include/linux/sync_core.h | |
| parent | c3bf64171384a548f8fd1a5d101005f93a4ed910 (diff) | |
iio: dac: ad5446: Fix read_raw not returning set value
commit 89a01cd688d3c0ac983ef0b0e5f40018ab768317 upstream.
read_raw should return the un-scaled value.
Fixes: 5e06bdfb46e8b ("staging:iio:dac:ad5446: Return cached value for 'raw' attribute")
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220406105620.1171340-1-michael.hennerich@analog.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/sync_core.h')
0 files changed, 0 insertions, 0 deletions
