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 09:51:59 +0100 |
commit | b7f8108a1cd47a12fd1f9d432d69ad4f049d0582 (patch) | |
tree | e4250bab056fd0e7635641646e31d1132764ff92 /sound | |
parent | 35940da897ed4760608b7fb01850a9923fd0965f (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 'sound')
0 files changed, 0 insertions, 0 deletions