diff options
author | Marcus Folkesson <marcus.folkesson@gmail.com> | 2018-08-24 23:24:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 17:53:44 +0300 |
commit | cca358eaa474087f4665d3a0fe149ae48e958506 (patch) | |
tree | 0692f3cb6bab2f97060a1e22202be162d8b25e6a /sound | |
parent | b827e2fa580bbada46fff51d712748bb4aa92208 (diff) | |
download | linux-cca358eaa474087f4665d3a0fe149ae48e958506.tar.xz |
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