linux_old1/drivers/iio/accel
Leonard Crestez b02ec67a8e iio: mma8452: Fix ignoring MMA8452_INT_DRDY
Interrupts are ignored if no event bit is set in the status status
register and this breaks the buffer interface. No data is shown when
running "iio_generic_buffer -n mma8451 -a" and interrupt counts go
crazy.

Fix by not returning IRQ_NONE if DRDY is set.

Fixes: 605f72de13 ("iio: accel: mma8452: improvements to handle
multiple events")

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-06-24 14:22:41 +01:00
..
Kconfig Staging: iio: adis16209: Move adis16209 driver out of staging 2018-03-30 13:50:36 +01:00
Makefile Staging: iio: adis16209: Move adis16209 driver out of staging 2018-03-30 13:50:36 +01:00
adis16201.c Staging: iio: accel: adis16201: Move adis16201 driver out of staging 2018-03-24 14:26:19 +00:00
adis16209.c Staging: iio: adis16209: Move adis16209 driver out of staging 2018-03-30 13:50:36 +01:00
adxl345.h iio: accel: adxl345: Split driver into core and I2C 2017-03-04 16:45:08 +00:00
adxl345_core.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
adxl345_i2c.c iio: accel: adxl345: Split driver into core and I2C 2017-03-04 16:45:08 +00:00
adxl345_spi.c iio: accel: adxl345: Add SPI support 2017-03-04 16:49:28 +00:00
bma180.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
bma220_spi.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
bmc150-accel-core.c iio: accel: bcm150: Remove handling for regmap raw_read_max 2018-04-28 17:01:55 +01:00
bmc150-accel-i2c.c iio: accel: bmc150: Add OF device ID table 2017-12-02 11:59:33 +00:00
bmc150-accel-spi.c iio: accel: bmc150: use common definition for regmap conf 2016-04-03 11:24:52 +01:00
bmc150-accel.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cros_ec_accel_legacy.c platform/chrome: Add cros_ec_accel_legacy driver 2017-10-14 20:34:01 +01:00
da280.c iio:accel:da280: Linx 820 Windows tablet has a da280 mapped via ACPI 2017-12-02 10:41:33 +00:00
da311.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
dmard06.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
dmard09.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
dmard10.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
hid-sensor-accel-3d.c iio: Replace occurrences of magic number 0 by IIO_CHAN_INFO_RAW 2018-03-07 20:14:36 +00:00
kxcjk-1013.c iio: accel: kxcjk1013: add support for KXTF9 2017-10-09 20:50:06 +01:00
kxsd9-i2c.c iio: adc/accel: Fix up module licenses 2017-12-02 10:39:43 +00:00
kxsd9-spi.c iio: accel: kxsd9: Deploy system and runtime PM 2016-09-18 11:35:59 +01:00
kxsd9.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
kxsd9.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mc3230.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
mma7455.h iio: accel: add Freescale MMA7455L/MMA7456L 3-axis accelerometer driver 2015-11-01 18:00:35 +00:00
mma7455_core.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
mma7455_i2c.c iio: accel: mma7455_i2c: Add OF device ID table 2017-03-19 10:57:43 +00:00
mma7455_spi.c iio: accel: add Freescale MMA7455L/MMA7456L 3-axis accelerometer driver 2015-11-01 18:00:35 +00:00
mma7660.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
mma8452.c iio: mma8452: Fix ignoring MMA8452_INT_DRDY 2018-06-24 14:22:41 +01:00
mma9551.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
mma9551_core.c iio: accel: mma9553: fix alignment issues 2015-06-14 16:00:54 +01:00
mma9551_core.h iio: accel: mma9553: fix alignment issues 2015-06-14 16:00:54 +01:00
mma9553.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
mxc4005.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
mxc6255.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
sca3000.c iio: sca3000: Handle errors returned by 'sca3000_configure_ring()' in 'sca3000_probe()' 2018-04-15 20:18:25 +01:00
ssp_accel_sensor.c iio: common: ssp_sensors: accel: use devm_iio_device_register() 2017-01-28 12:15:22 +00:00
st_accel.h iio: accel: add support to LIS3DHH 2017-10-10 20:40:54 +01:00
st_accel_buffer.c iio: st_sensors: switch to a threaded interrupt 2016-05-29 20:21:41 +01:00
st_accel_core.c iio: st_pressure: st_accel: pass correct platform data to init 2018-03-10 16:28:05 +00:00
st_accel_i2c.c iio: accel: st_accel: Add support for the SMO8840 ACPI id 2018-04-21 16:29:24 +01:00
st_accel_spi.c iio: accel: add support to LIS3DHH 2017-10-10 20:40:54 +01:00
stk8ba50.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00
stk8312.c iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:22:40 +01:00