[PATCH v2 4/4] ASoC: codecs: Implement 64-bit pointer operation
Richard Fitzgerald
rf at opensource.cirrus.com
Fri Jul 11 03:10:53 PDT 2025
On 11/7/25 10:36, Joris Verhaegen wrote:
> Implement the new .pointer64 compress operation for the various ASoC
> drivers that support compress offload.
>
> For drivers with complex but similar 32-bit and 64-bit logic
> (wm_adsp, sof, uniphier), a shared internal function is used to handle
> both requests, minimizing code duplication and improving maintainability.
>
> For other drivers, internal counters and related variables are updated
> to u64 to ensure the source of the timestamp data is overflow-safe.
> The legacy .pointer operation is retained in all drivers to ensure
> full backward compatibility.
>
> Signed-off-by: Joris Verhaegen <verhaegen at google.com>
> Tested-by: Joris Verhaegen <verhaegen at google.com>
> Reviewed-by: David Li <dvdli at google.com>
> Reviewed-by: Miller Liang <millerliang at google.com>
> ---
> sound/soc/codecs/cs47l15.c | 1 +
> sound/soc/codecs/cs47l24.c | 1 +
> sound/soc/codecs/cs47l35.c | 1 +
> sound/soc/codecs/cs47l85.c | 1 +
> sound/soc/codecs/cs47l90.c | 1 +
> sound/soc/codecs/cs47l92.c | 1 +
> sound/soc/codecs/wm5102.c | 1 +
> sound/soc/codecs/wm5110.c | 1 +
> sound/soc/codecs/wm_adsp.c | 53 +++++++++++++++----
> sound/soc/codecs/wm_adsp.h | 3 ++
For these 10 files:
Reviewed-by: Richard Fitzgerald <rf at opensource.cirrus.com>
More information about the linux-arm-kernel
mailing list