]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mmp-sspa: Add support for soc-generic-dmaengine-pcm
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 11 May 2020 21:01:28 +0000 (23:01 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 12 May 2020 16:14:39 +0000 (17:14 +0100)
commit453d1322ad4301fc84d65bfdae72de913d140639
treedff91d965fa296793ddb23375b36851b63dd2fcd
parent6af91fcb5d6dbdb62e3c204d1c00c865ee8d1708
ASoC: mmp-sspa: Add support for soc-generic-dmaengine-pcm

This makes the driver usable with the mmp_tdma drier via
soc-generic-dmaengine-pcm. This is conditionalized on DT node (support
for DT is added by a later patch).

A custom mmap callback that creates a NC mapping is used instead of the
default WC one, because with write-combining some bytes don't seem to
make it through for reasons unknown to me.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20200511210134.1224532-6-lkundrak@v3.sk
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/mmp-sspa.c