aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-06-11 16:25:55 +0200
committerBjorn Andersson <[email protected]>2024-06-16 15:28:07 -0500
commit74de2ecf1c418c96d2bffa7770953b8991425dd2 (patch)
tree1bb368e46d1acbdb007e01b953d78706b3cad114 /scripts/generate_rust_analyzer.py
parentdfce1771680c70a437556bc81e3e1e22088b67de (diff)
arm64: dts: qcom: x1e80100-crd: fix DAI used for headset recording
The SWR2 Soundwire instance has 1 output and 4 input ports, so for the headset recording (via the WCD9385 codec and the TX macro codec) we want to use the next DAI, not the first one (see qcom,dout-ports and qcom,din-ports for soundwire@6d30000 node). Original code was copied from other devices like SM8450 and SM8550. On the SM8450 this was a correct setting, however on the SM8550 this worked probably only by coincidence, because the DTS defined no output ports on SWR2 Soundwire. This is a necessary fix for proper audio recording via analogue microphones connected to WCD9385 codec (e.g. headset AMIC2). Fixes: 4442a67eedc1 ("arm64: dts: qcom: x1e80100-crd: add sound card") Cc: [email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions