kernel_optimize_test/drivers/iio/accel
Haibo Chen c1ec7d52a2 iio: accel: mma8452: ignore the return value of reset operation
commit bf745142cc0a3e1723f9207fb0c073c88464b7b4 upstream.

On fxls8471, after set the reset bit, the device will reset immediately,
will not give ACK. So ignore the return value of this reset operation,
let the following code logic to check whether the reset operation works.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Fixes: ecabae7131 ("iio: mma8452: Initialise before activating")
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/1655292718-14287-1-git-send-email-haibo.chen@nxp.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-29 08:59:52 +02:00
..
adis16201.c
adis16209.c
adxl345_core.c
adxl345_i2c.c
adxl345_spi.c
adxl345.h
adxl372_i2c.c
adxl372_spi.c
adxl372.c
adxl372.h
bma180.c iio:accel:bma180: rearrange iio trigger get and register 2022-06-29 08:59:51 +02:00
bma220_spi.c
bma400_core.c
bma400_i2c.c
bma400_spi.c
bma400.h
bmc150-accel-core.c iio: Fix error handling for PM 2022-03-02 11:42:53 +01:00
bmc150-accel-i2c.c
bmc150-accel-spi.c
bmc150-accel.h
cros_ec_accel_legacy.c
da280.c
da311.c
dmard06.c
dmard09.c
dmard10.c
hid-sensor-accel-3d.c
Kconfig
kxcjk-1013.c iio: Fix error handling for PM 2022-03-02 11:42:53 +01:00
kxsd9-i2c.c
kxsd9-spi.c
kxsd9.c iio: kxsd9: Don't return error code in trigger handler 2021-12-14 11:32:44 +01:00
kxsd9.h
Makefile
mc3230.c
mma7455_core.c
mma7455_i2c.c
mma7455_spi.c
mma7455.h
mma7660.c
mma8452.c iio: accel: mma8452: ignore the return value of reset operation 2022-06-29 08:59:52 +02:00
mma9551_core.c
mma9551_core.h
mma9551.c iio: Fix error handling for PM 2022-03-02 11:42:53 +01:00
mma9553.c iio: Fix error handling for PM 2022-03-02 11:42:53 +01:00
mxc4005.c iio:accel:mxc4005: rearrange iio trigger get and register 2022-06-29 08:59:52 +02:00
mxc6255.c
sca3000.c
ssp_accel_sensor.c
st_accel_buffer.c
st_accel_core.c
st_accel_i2c.c
st_accel_spi.c
st_accel.h
stk8ba50.c
stk8312.c