linux_dsm_epyc7002/drivers/iio/common
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
..
hid-sensors iio: hid_sensor_hub: Common PM functions 2015-01-25 22:55:39 +00:00
ssp_sensors iio: constify of_device_id array 2015-03-28 10:55:37 +00:00
st_sensors iio:st_sensors: Fix oops when probing SPI devices 2015-04-26 18:24:08 +01:00
Kconfig iio: common: ssp_sensors: Add sensorhub driver 2015-01-29 18:49:05 +00:00
Makefile iio: common: ssp_sensors: Add sensorhub driver 2015-01-29 18:49:05 +00:00