summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorQianghua Wang <qianghua.wang@senarytech.com>2026-11-03 15:01:50 +0800
committerMark Brown <broonie@kernel.org>2026-11-03 17:50:06 +0000
commitb54a20b671e3943ecc3a7b3cff486a012010ab2a (patch)
treea7e92a7d0a4fb870c8fce490f5cb4215b33f34ba /include/linux/debugobjects.h
parent97d5fbab9e62b618a6bf13db2f8ff9347f1423f9 (diff)
ASoC: codecs: sn624x-sdca: limit DMIC capture to 2 channels
The SN624x DMIC path only has two microphones. The aif3 capture DAI advertised channels_max = 4, so userspace could open a 4-channel capture that the hardware does not provide. Clamp the DMIC capture DAI to two channels to match the headset capture DAI and the sof-sdca-mic function topology. Tested on a Wildcat Lake laptop with SN6244: hw:*,4 reports CHANNELS 2 and rejects a 4-channel arecord. Signed-off-by: Qianghua Wang <qianghua.wang@senarytech.com> Link: https://patch.msgid.link/20261103070150.115136-1-qianghua.wang@senarytech.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions