]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoc: qcom: q6afe: use guards consistently
authorJohan Hovold <johan@kernel.org>
Wed, 3 Dec 2025 10:55:42 +0000 (11:55 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 14 Dec 2025 10:37:34 +0000 (19:37 +0900)
commitdfbbd3c04f0f782e83f8677749e2f02359ffd1b5
tree6bb3da6a9fe7cb0761dfa99b06b32ec11fc41063
parent0c1db366642172e85ee98eeed7c127b80eb609a3
ASoc: qcom: q6afe: use guards consistently

A recent change switched to using guards for the port list lock but only
modified two out of three functions where the lock is held.

Convert also the third function for consistency while switching to a
scoped guard in q6afe_port_get_from_id() for clarity.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251203105542.24765-3-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6afe.c