mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
11d4e47486
Merge series from Claudiu Beznea <claudiu.beznea@microchip.com>: To start capture on Microchip PDMC the enable bits for each supported microphone need to be set. After this bit is set the PDMC starts to receive data from microphones and it considers this data as valid data. Thus if microphones are not ready the PDMC captures anyway data from its lines. This data is interpreted by the human ear as poc noises. To avoid this the following software workaround need to be applied when starting capture: 1/ enable PDMC channel 2/ wait 150ms 3/ execute 16 dummy reads from RHR 4/ clear interrupts 5/ enable interrupts 6/ enable DMA channel For this workaround to work step 6 need to be executed at the end. For step 6 was added patch 1/3 from this series. With this, component DAI driver sets its struct snd_soc_component_driver::start_dma_last = 1 and proper action is taken based on this flag when starting DAI trigger vs DMA. |
||
---|---|---|
.. | ||
atmel_ssc_dai.c | ||
atmel_ssc_dai.h | ||
atmel_wm8904.c | ||
atmel-classd.c | ||
atmel-classd.h | ||
atmel-i2s.c | ||
atmel-pcm-dma.c | ||
atmel-pcm-pdc.c | ||
atmel-pcm.h | ||
atmel-pdmic.c | ||
atmel-pdmic.h | ||
Kconfig | ||
Makefile | ||
mchp-i2s-mcc.c | ||
mchp-pdmc.c | ||
mchp-spdifrx.c | ||
mchp-spdiftx.c | ||
mikroe-proto.c | ||
sam9g20_wm8731.c | ||
sam9x5_wm8731.c | ||
tse850-pcm5142.c |