]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: fsl: add memory to memory function for ASRC
authorMark Brown <broonie@kernel.org>
Fri, 13 Dec 2024 17:33:09 +0000 (17:33 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 13 Dec 2024 17:33:09 +0000 (17:33 +0000)
commit5ce3beed07b8145aff61f2cb41f1868f6221271f
treef2496157a982db35fefb80543875272f84551f01
parent94c545aa535d7f5dcf54ad8e648f22943bbfcb32
parentb62eaff0650dc6dc2a4bf0f50714f2357a23fc71
ASoC: fsl: add memory to memory function for ASRC

Merge series from Shengjiu Wang <shengjiu.wang@nxp.com>:

This function is base on the accelerator implementation
for compress API:
04177158cf98 ("ALSA: compress_offload: introduce accel operation mode")

Audio signal processing also has the requirement for memory to
memory similar as Video.

This asrc memory to memory (memory ->asrc->memory) case is a non
real time use case.

User fills the input buffer to the asrc module, after conversion, then asrc
sends back the output buffer to user. So it is not a traditional ALSA playback
and capture case.

Because we had implemented the "memory -> asrc ->i2s device-> codec"
use case in ALSA.  Now the "memory->asrc->memory" needs
to reuse the code in asrc driver, so the patch 1 and patch 2 is for refining
the code to make it can be shared by the "memory->asrc->memory"
driver.

Other change is to add memory to memory support for two kinds of i.MX ASRC
modules.