]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mt8195: correct the dts parsing logic about DPTX and HDMITX
authorTrevor Wu <trevor.wu@mediatek.com>
Fri, 3 Sep 2021 06:00:49 +0000 (14:00 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 3 Sep 2021 12:31:46 +0000 (13:31 +0100)
commit76215d10fbe8a47c9a4b265cf60c48820983695c
treea27dc16b9c8d9731362e3b0eda4c69221869d8b0
parenta2effd74bbd7f096f366aa08b425b9a0305b44a2
ASoC: mt8195: correct the dts parsing logic about DPTX and HDMITX

According to the description in dt-bindings, phandle assignment of
HDMI TX and DP TX are not required properties, but driver regards them
as required properties.
In real use case, it's expected that DP TX and HDMI TX are optional
features, so correct the behavior in driver.

Fixes: 2836ddb6d71d ("ASoC: mediatek: mt8195: add machine driver with mt6359, rt1019 and rt5682")
Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20210903060049.20764-1-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c