]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: qcom: q6asm-dai: use q6asm_get_hw_pointer
authorSrinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Thu, 23 Oct 2025 10:24:32 +0000 (11:24 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 5 Nov 2025 13:28:24 +0000 (13:28 +0000)
commit44432315444cbbedadbb9d808c9fc8c8b21cb4bf
tree4c7feb79fe0ee4d868aac5d401fc99c3ae60294f
parentb6a1d7243ec3a3fe1a3c2969fcd32c802fb5d2a9
ASoC: qcom: q6asm-dai: use q6asm_get_hw_pointer

make use of q6asm_get_hw_pointer to get the current hardware read/write
pointer and remove any additional code that does calculate this manually.
As this is redundant and prone to errors.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Tested-by: Alexey Klimov <alexey.klimov@linaro.org> # RB5, RB3
Link: https://patch.msgid.link/20251023102444.88158-9-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6asm-dai.c