linux-stable/drivers/iio
Marcus Folkesson bd0e3c12a0 iio: dac: mcp4922: fix error handling in mcp4922_write_raw
[ Upstream commit 0833627fc3 ]

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>
2019-11-20 17:59:35 +01:00
..
accel iio: fix center temperature of bmc150-accel-core 2019-11-06 12:43:01 +01:00
adc iio: adc: max9611: explicitly cast gain_selectors 2019-11-20 17:59:34 +01:00
amplifiers
buffer iio:kfifo_buf: check for uint overflow 2018-06-05 11:41:58 +02:00
chemical iio: chemical: atlas-ph-sensor: correct IIO_TEMP values to millicelsius 2019-02-15 08:09:11 +01:00
common iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_data 2019-05-31 06:47:29 -07:00
counter iio: 104-quad-8: Fix off-by-one error in register selection 2018-10-03 17:00:53 -07:00
dac iio: dac: mcp4922: fix error handling in mcp4922_write_raw 2019-11-20 17:59:35 +01:00
dummy License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
frequency iio: ad9523: Fix return value for ad952x_store() 2018-09-09 19:55:56 +02:00
gyro iio/gyro/bmg160: Use millidegrees for temperature scale 2019-04-27 09:35:35 +02:00
health iio: health: max30102: Add power enable parameter to get_temp function 2018-03-19 08:42:51 +01:00
humidity iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers 2018-12-17 09:28:49 +01:00
imu iio: imu: adis16480: make sure provided frequency is positive 2019-11-12 19:18:07 +01:00
light iio: light: opt3001: fix mutex unlock race 2019-10-17 13:43:40 -07:00
magnetometer iio: hmc5843: fix potential NULL pointer dereferences 2019-05-31 06:47:29 -07:00
multiplexer iio: multiplexer: add NULL check on devm_kzalloc() and devm_kmemdup() return values 2017-12-10 13:40:43 +01:00
orientation iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers 2018-12-17 09:28:49 +01:00
potentiometer License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
potentiostat
pressure iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers 2018-12-17 09:28:49 +01:00
proximity iio: srf04: fix wrong limitation in distance measuring 2019-11-12 19:18:08 +01:00
temperature iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers 2018-12-17 09:28:49 +01:00
trigger License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: Fix scan mask selection 2019-04-27 09:35:36 +02:00
industrialio-configfs.c
industrialio-core.c iio: core: fix a possible circular locking dependency 2019-04-27 09:35:36 +02:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c iio: trigger: fix NULL pointer dereference in iio_trigger_write_current() 2017-05-21 12:36:59 +01:00
industrialio-triggered-event.c
inkern.c First round of IIO new device support, features and cleanups for the 4.14 cycle. 2017-07-27 21:29:49 -07:00
Kconfig iio: multiplexer: new iio category and iio-mux driver 2017-06-03 19:29:26 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00