kernel_optimize_test/drivers/iio
Fabrice Gasnier b455d06e6f iio: adc: stm32-dfsdm: fix device used to request dma
DMA channel request should use device struct from platform device struct.
Currently it's using iio device struct. But at this stage when probing,
device struct isn't yet registered (e.g. device_register is done in
iio_device_register). Since commit 71723a96b8 ("dmaengine: Create
symlinks between DMA channels and slaves"), a warning message is printed
as the links in sysfs can't be created, due to device isn't yet registered:
- Cannot create DMA slave symlink
- Cannot create DMA dma:rx symlink

Fix this by using device struct from platform device to request dma chan.

Fixes: eca949800d ("IIO: ADC: add stm32 DFSDM support for PDM microphone")

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-05-03 14:16:49 +01:00
..
accel
adc iio: adc: stm32-dfsdm: fix device used to request dma 2020-05-03 14:16:49 +01:00
afe
amplifiers
buffer
chemical iio: chemical: atlas-sensor: correct DO-SM channels 2020-04-25 14:34:51 +01:00
common First set of IIO fixes for the 5.7 cycle. 2020-04-20 14:07:00 +02:00
dac iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()' 2020-05-02 19:17:08 +01:00
dummy
frequency
gyro
health
humidity
imu iio: imu: st_lsm6dsx: unlock on error in st_lsm6dsx_shub_write_raw() 2020-04-25 18:33:54 +01:00
light
magnetometer
multiplexer
orientation
position
potentiometer
potentiostat
pressure
proximity
resolver
temperature
trigger
iio_core_trigger.h
iio_core.h
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c First set of IIO fixes for the 5.7 cycle. 2020-04-20 14:07:00 +02:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c
Kconfig
Makefile
TODO