mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
81054b226b
Due to HW limitation within OMAP McPDM IP uplink and downlink need to be started at the same time. This causes issues when we have two streams running, for example: arecord | aplay In this case the playback stream would have no channels enabled since at the capture start we are not aware that a playback is going to start. The workaround is to configure the other direction to stereo when the first stream is started. When the second stream is coming we check the new stream's number of channels against the pre-configured channels. If it does not match we stop and restart McPDM to update the configuration. This might result a small pop. If the coming stream is a match we do nothing in the McPDM driver. This workaround can handle most use cases without the need to restart McPDM. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> |
||
---|---|---|
.. | ||
am3517evm.c | ||
ams-delta.c | ||
Kconfig | ||
Makefile | ||
mcbsp.c | ||
mcbsp.h | ||
n810.c | ||
omap3pandora.c | ||
omap-abe-twl6040.c | ||
omap-dmic.c | ||
omap-dmic.h | ||
omap-hdmi-card.c | ||
omap-hdmi.c | ||
omap-hdmi.h | ||
omap-mcbsp.c | ||
omap-mcbsp.h | ||
omap-mcpdm.c | ||
omap-mcpdm.h | ||
omap-pcm.c | ||
omap-pcm.h | ||
omap-twl4030.c | ||
osk5912.c | ||
rx51.c |