ASoC: hdmi-codec: use SND_JACK_AVOUT as jack status
authorTerry Cheong <htcheong@chromium.org>
Fri, 13 Jun 2025 08:51:27 +0000 (16:51 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 13 Jun 2025 11:23:56 +0000 (12:23 +0100)
commit5eb8a0d7733d4cd32a776acf1d1aa1c7c01c8a14
tree6e9e5e8be3b5e603d220bb940b42a3b3055adc20
parentdae29b678bb74aa2995c1d2b0fa6b1b91f5d8986
ASoC: hdmi-codec: use SND_JACK_AVOUT as jack status

Use SND_JACK_AVOUT as the mask to align with hdac_hdmi driver so that we
can determine HDMI/DP devices from event type.

Most drivers that uses hdmi-codec driver will not be affected since they
are creating jacks with SND_JACK_LINEOUT mask. They will still report
SND_JACK_LINEOUT when the jack status is updated with
snd_soc_jack_report.

Signed-off-by: Terry Cheong <htcheong@chromium.org>
Link: https://patch.msgid.link/20250613-hdmi-v1-1-665ba7ecd5e7@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c