diff options
author | Marcus Folkesson <marcus.folkesson@gmail.com> | 2018-08-24 22:24:40 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-08-25 10:47:36 +0200 |
commit | 0833627fc3f757a0dca11e2a9c46c96335a900ee (patch) | |
tree | b4fe3b51463a57a51321553b6a404968bd066eb1 /drivers/iio/dac/ti-dac5571.c | |
parent | MAINTAINERS: add entry for ltc1660 DAC driver (diff) | |
download | linux-0833627fc3f757a0dca11e2a9c46c96335a900ee.tar.xz linux-0833627fc3f757a0dca11e2a9c46c96335a900ee.zip |
iio: dac: mcp4922: fix error handling in mcp4922_write_raw
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>
Diffstat (limited to 'drivers/iio/dac/ti-dac5571.c')
0 files changed, 0 insertions, 0 deletions