linux_dsm_epyc7002/sound/soc/ti
Peter Ujfalusi a2dc6f82fd
ASoC: ti: davinci-i2s: Move the XSYNCERR workaround to .prepare callback
Currently the driver uses snd_soc_rtdcom_lookup() in it's mcbsp_start
function to try to stop/restart the DMA as the initial XSYNCERR workaround
need to be done before the DMA is armed.

There are couple of things wrong with this:
- the driver crashes with NULL pointer dereference as the
  component->driver->ops is actually NULL
- the driver should not use snd_soc_rtdcom_lookup() in the first place
- Fiddling with DMA is never a good thing

Move the workaround handling to .prepare which is called before the DMA is
armed, so it complies with the requirements.

Reported-by (usage of snd_soc_rtdcom_lookup): Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20190830103841.25128-3-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-08-30 12:21:20 +01:00
..
ams-delta.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
davinci-evm.c ASoC: ti: davinci-evm: consider CPU-Platform possibility 2019-06-28 15:18:55 +01:00
davinci-i2s.c ASoC: ti: davinci-i2s: Move the XSYNCERR workaround to .prepare callback 2019-08-30 12:21:20 +01:00
davinci-i2s.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
davinci-mcasp.c ASoC: ti: davinci-mcasp: Correct slot_width posed constraint 2019-07-26 13:09:32 +01:00
davinci-mcasp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
davinci-vcif.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
edma-pcm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
edma-pcm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
n810.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
omap3pandora.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
omap-abe-twl6040.c ASoC: ti: omap-abe-twl6040: consider CPU-Platform possibility 2019-06-28 15:19:05 +01:00
omap-dmic.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-dmic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-hdmi.c ASoC: ti: omap-hdmi: consider CPU-Platform possibility 2019-06-28 15:19:15 +01:00
omap-mcbsp-priv.h
omap-mcbsp-st.c
omap-mcbsp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-mcbsp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-mcpdm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-mcpdm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-twl4030.c ASoC: ti: omap-twl4030: consider CPU-Platform possibility 2019-06-28 15:19:35 +01:00
osk5912.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
rx51.c ASoC: ti: rx51: consider CPU-Platform possibility 2019-06-28 15:19:45 +01:00
sdma-pcm.c ASoC: ti: remove compat dma probing 2019-03-11 16:33:43 +00:00
sdma-pcm.h