]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: mediatek: mt8195-cherry: Use correct audio codec DAI
authorFei Shao <fshao@chromium.org>
Mon, 21 Oct 2024 11:39:33 +0000 (19:39 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 21 Oct 2024 14:12:58 +0000 (16:12 +0200)
commit7d5794e6d964940e46286fadbe69a3245fa51e44
tree712e6845b531415492a802fa81be4c22c1e8d84a
parent6bb64877a41561bc78e0f4e9e04d524a0155d6aa
arm64: dts: mediatek: mt8195-cherry: Use correct audio codec DAI

The RT5682i and RT5682s drivers describe two DAIs: AIF1 supports both
playback and capture, while AIF2 supports capture only.

Cherry doesn't specify which DAI to use. Although this doesn't cause
real issues because AIF1 happens to be the first DAI, it should be
corrected:
    codec@1a: #sound-dai-cells: 1 was expected

Update #sound-dai-cells to 1 and adjust DAI link usages accordingly.

Fixes: 87728e3ccf35 ("arm64: dts: mediatek: mt8195-cherry: Specify sound DAI links and routing")
Signed-off-by: Fei Shao <fshao@chromium.org>
Link: https://lore.kernel.org/r/20241021114318.1358681-1-fshao@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi