]> 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)
commitd6f3511e13dd9528614e4270ce720a97ee718d8a
tree4a48b1a6be2bf444e1a8d7b688afe09f32de3cb2
parentc3e61a4141a16e2d9cad4b63bf63fa2ee343e708
parent16e2982a50a174c2e022186aa6cd5ef02c661cb0
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.