]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: compress: Add support for timestamp on capture
authorMark Brown <broonie@kernel.org>
Wed, 31 Aug 2022 12:40:16 +0000 (13:40 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 31 Aug 2022 12:40:16 +0000 (13:40 +0100)
commit7d9911a613ad1e87cb16b66c2e1346a362f7adb4
tree4a48b1a6be2bf444e1a8d7b688afe09f32de3cb2
parentbb8b5c230d7f53153d7afd166b1f491ba2ece9db
parent7ce90b5803c7648f44481c38d9d6ec18a736834c
ASoC: SOF: compress: Add support for timestamp on capture

Merge series from Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>:

The purpose of this patch series is to add support for
timestamping on capture direction using the compress
API.

This is simply done by splitting sof_compr_copy into 2
functions: sof_compr_copy_playback and sof_compr_copy_capture.
Each of these functions handles one of the possible directions:
capture or playback and is called in sof_compr_copy based on
the stream's direction.

The only difference between sof_compr_copy_playback and
sof_compr_copy_capture is the fact that on playback case
we need to copy data from user space and on capture we
need to copy data to user space.