summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>2025-10-15 10:57:15 +0300
committerMark Brown <broonie@kernel.org>2025-10-16 18:33:44 +0300
commit281c97376cfcfc8cef4f5ed5dd961a1b39f5a25e (patch)
treede48f66d3554c44b7855130151a6f60f6774151a /include/linux
parent6621b0f118d500092f5f3d72ddddb22aeeb3c3a0 (diff)
downloadlinux-281c97376cfcfc8cef4f5ed5dd961a1b39f5a25e.tar.xz
ASoC: codecs: va-macro: Rework version checking
Open-code some of the registers to make the checks anywhere near human- readable. Error out if the version is unsupported or if the VA macro isn't supposed to be present within this LPASS instance (since we can check for that now). Note that previously v2.0 and v2.1 assignments were swapped, but v2.1 does not even seem to exist (as opposed to v2.0.1) and there is no difference in SW handling anyway. [Prasad Kumpatla: fixed a spelling error and resolved a checkpatch warning related to return value handling] Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com> Signed-off-by: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com> Link: https://patch.msgid.link/20251015-knp-audio-v2-v3-1-e0e3e4167d87@oss.qualcomm.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions