linux/drivers/iio/magnetometer
Crestez Dan Leonard a8175ba335 iio: ak8975: Support adapters limited to BYTE_DATA
The device has simple 8-bit registers but the driver incorrectly uses
block or word reads without checking functionality bits.

Fix by using i2c_smbus_read_i2c_block_data_or_emulated instead of
i2c_smbus_read_i2c_block_data or i2c_smbus_read_word_data. This will
check functionality bits and use the fastest available transfer method.

Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-05-01 17:54:38 +01:00
..
ak8975.c iio: ak8975: Support adapters limited to BYTE_DATA 2016-05-01 17:54:38 +01:00
bmc150_magn_i2c.c iio: magn: Split bmc150 driver in common/i2c parts 2016-04-18 20:44:40 +01:00
bmc150_magn_spi.c iio: magn: bmc150: Introduce SPI support 2016-04-18 20:44:47 +01:00
bmc150_magn.c iio: magn: Split bmc150 driver in common/i2c parts 2016-04-18 20:44:40 +01:00
bmc150_magn.h iio: magn: Split bmc150 driver in common/i2c parts 2016-04-18 20:44:40 +01:00
hid-sensor-magn-3d.c iio: hid-sensor-magn-3d: Constify platform_device_id 2015-05-10 20:31:47 +01:00
hmc5843_core.c iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
hmc5843_i2c.c iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
hmc5843_spi.c iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
hmc5843.h iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
Kconfig iio: magn: bmc150: Introduce SPI support 2016-04-18 20:44:47 +01:00
mag3110.c iio: magnetometer: mag3110: Place driver on standby on error 2015-04-01 17:24:09 +02:00
Makefile iio: magn: bmc150: Introduce SPI support 2016-04-18 20:44:47 +01:00
mmc35240.c Second set of new device support, features and cleanup for the 4.3 cycle. 2015-08-12 12:43:41 -07:00
st_magn_buffer.c iio: st_magn: Add irq trigger handling 2015-07-23 20:43:13 +01:00
st_magn_core.c iio: st_sensors: verify interrupt event to status 2016-04-19 19:58:12 +01:00
st_magn_i2c.c iio: st-magn: add support for lsm303agr magnetometer 2015-07-23 20:43:27 +01:00
st_magn_spi.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
st_magn.h iio: st-magn: add support for lsm303agr magnetometer 2015-07-23 20:43:27 +01:00