]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ti: Fix SDMA users not providing channel names
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>
Sun, 2 Jun 2019 14:55:49 +0000 (16:55 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jun 2019 15:16:32 +0000 (16:16 +0100)
commitde3a9b1ffe0b51d5f4ff13e8cb9ab140cabdcddc
tree528f8bbceb302e197f7a7e34542dda49f9b4ac8f
parentaca9aab939a731157827e4eb2703d099a547d5f1
ASoC: ti: Fix SDMA users not providing channel names

McBSP used to work correctly as long as compat DMA probing, removed by
commit dee55188de51 ("ASoC: ti: remove compat dma probing"), was
available.  New method of DMA probing apparently requires users to
provide channel names when registering with SDMA, while McBSP passes
NULLs.  Fix it.

The same probably applies to McASP (not tested), hence the patch fixes
both.

Fixes: dee55188de51 ("ASoC: ti: remove compat dma probing")
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/davinci-mcasp.c
sound/soc/ti/omap-mcbsp.c