diff options
| author | Marcus Folkesson <marcus.folkesson@gmail.com> | 2018-08-24 22:24:40 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 15:53:44 +0100 |
| commit | cca358eaa474087f4665d3a0fe149ae48e958506 (patch) | |
| tree | 0692f3cb6bab2f97060a1e22202be162d8b25e6a /tools/perf/scripts/python | |
| parent | b827e2fa580bbada46fff51d712748bb4aa92208 (diff) | |
iio: dac: mcp4922: fix error handling in mcp4922_write_raw
[ Upstream commit 0833627fc3f757a0dca11e2a9c46c96335a900ee ]
Do not try to write negative values and make sure that the write goes well.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
