linux/drivers/iio/pressure
Alban Bedel 8e71c04f86 iio:st_sensors: Fix oops when probing SPI devices
In SPI mode the transfer buffer is locked with a mutex. However this
mutex is only initilized after the probe, but some transfer needs to
be done in the probe.

To fix this bug we move the mutex initialization at the beginning of
the device probe.

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Acked-by: Denis Ciocca <denis.ciocca@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-04-26 18:24:08 +01:00
..
bmp280.c iio: pressure: bmp280: fix temp compensation 2015-04-09 12:54:10 +01:00
hid-sensor-press.c iio: pressure: hid-sensor-press: Fix modifier 2015-04-18 20:19:36 +01:00
Kconfig iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
Makefile iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
mpl115.c iio: Add Freescale MPL115A2 pressure / temperature sensor driver 2014-05-03 11:31:36 +01:00
mpl3115.c iio: Fix two mpl3115 issues in measurement conversion 2014-05-29 17:38:36 +01:00
ms5611_core.c iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
ms5611_i2c.c iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
ms5611_spi.c iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
ms5611.h iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
st_pressure_buffer.c iio:pressure: Changed pressure data variable name to press_data 2014-10-04 11:26:09 +01:00
st_pressure_core.c iio:st_sensors: Fix oops when probing SPI devices 2015-04-26 18:24:08 +01:00
st_pressure_i2c.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
st_pressure_spi.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
st_pressure.h iio:pressure: Removed unnecessary parameter on common_probe function 2014-10-04 11:25:38 +01:00
t5403.c iio: Add t5403 barometric pressure sensor driver 2014-06-14 13:15:30 +01:00