mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
c5682e2ba1
Microchip PDMC IP doesn't filter microphone noises on startup. By default,
it captures data received from digital microphones after
the MCHP_PDMC_MR.EN bits are set. Thus when enable is set on PDMC side the
digital microphones might not be ready yet and PDMC captures data from then
in this time. This data captured is poc noise. To avoid this the software
workaround is to the following:
1/ enable PDMC channel
2/ wait 150ms (on SAMA7G5-EK setup)
3/ execute 16 dummy reads from RHR
4/ clear interrupts
5/ enable interrupts
6/ enable DMA channel
Fixes:
|
||
---|---|---|
.. | ||
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 |