linux/drivers/iio
Michael Hennerich 03fe472ef3 iio:ad5064: Make sure ad5064_i2c_write() returns 0 on success
i2c_master_send() returns the number of bytes transferred on success while
the ad5064 driver expects that the write() callback returns 0 on success.
Fix that by translating any non negative return value of i2c_master_send()
to 0.

Fixes: commit 6a17a0768f ("iio:dac:ad5064: Add support for the ad5629r and ad5669r")
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-10-25 12:29:31 +00:00
..
accel iio: st_accel: fix interrupt handling on LIS3LV02 2015-10-03 10:27:18 +01:00
adc vf610_adc: Fix internal temperature calculation 2015-10-25 12:12:29 +00:00
amplifiers iio: amplifiers: ad8366: Use right order for type specification 2015-01-01 12:16:57 +00:00
common Second set of new device support, features and cleanup for the 4.3 cycle. 2015-08-12 12:43:41 -07:00
dac iio:ad5064: Make sure ad5064_i2c_write() returns 0 on success 2015-10-25 12:29:31 +00:00
frequency iio: frequency: adf4350: Delete blank line 2015-07-11 18:28:04 +01:00
gyro iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required 2015-08-12 19:24:13 +01:00
humidity iio: dht11: Use new function ktime_get_resolution_ns() 2015-07-20 18:41:20 +01:00
imu Second set of new device support, features and cleanup for the 4.3 cycle. 2015-08-12 12:43:41 -07:00
light This is the bulk of GPIO changes for the v4.3 kernel cycle: 2015-09-04 10:07:45 -07:00
magnetometer This is the bulk of GPIO changes for the v4.3 kernel cycle: 2015-09-04 10:07:45 -07:00
orientation iio: orientation: hid-sensor-rotation: Fix memory leak in probe() 2015-05-17 09:10:25 +01:00
pressure iio: st-sensors: add configuration for WhoAmI address 2015-07-23 20:43:04 +01:00
proximity iio: sx9500: Add missing init in sx9500_buffer_pre{en,dis}able() 2015-07-19 11:48:17 +01:00
temperature Second set of new device support, features and cleanup for the 4.3 cycle. 2015-08-12 12:43:41 -07:00
trigger iio: trigger: Add a blank line after declarations 2014-12-26 12:15:36 +00:00
buffer_cb.c iio: Specify supported modes for buffers 2015-06-01 11:31:12 +01:00
iio_core_trigger.h
iio_core.h iio: Move buffer registration to the core 2014-12-12 12:28:31 +00:00
industrialio-buffer.c iio: industrialio-buffer: Fix iio_buffer_poll return value 2015-08-12 19:26:34 +01:00
industrialio-core.c iio: core: Add function params for kernel docs 2015-08-02 18:24:39 +01:00
industrialio-event.c iio: event: Remove negative error code from iio_event_poll 2015-08-12 19:26:39 +01:00
industrialio-trigger.c iio: trigger: Add missing fields in kernel docs 2015-08-08 12:45:49 +01:00
industrialio-triggered-buffer.c iio: Fix parameters in iio_triggered_buffer_setup 2015-07-05 15:19:50 +01:00
inkern.c First round of IIO new drivers, cleanups and functionality for the 3.20 cycle take 2 2015-01-21 10:13:37 +08:00
Kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
kfifo_buf.c Third round of new IIO drivers, cleanups and functionality for the 4.2 cycle. 2015-06-10 20:48:34 -07:00
Makefile iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00