UPSTREAM: ASoC: hdmi-codec: register hpd callback on component probe
The HDMI hotplug callback to the hdmi-codec is currently registered when jack is set. The hotplug not only serves to report the ASoC jack state but also to get the ELD. It should be registered when the component probes instead, so it does not depend on the card driver registering a jack for the HDMI to properly report the ELD. Bug: 254441685 Fixes: 25ce4f2b ("ASoC: hdmi-codec: Get ELD in before reporting plugged event") Signed-off-by:Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20231106104013.704356-1-jbrunet@baylibre.com Signed-off-by:
Mark Brown <broonie@kernel.org> (cherry picked from commit 15be353d) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: I4df1e28c9a178d7cfcafa7a42bfee50229bc3424
Loading
Please sign in to comment