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)
commitce963f84a812044ebac099f9cb60359898662542
tree4a48b1a6be2bf444e1a8d7b688afe09f32de3cb2
parent33b7504ae08a20ad22f3bd867623c72bddefdd12
parent1a01e19278022cd2f7daa7a065ed47c5022dbad9
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.