Commit 15be353
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.
Fixes: 25ce4f2 ("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>1 parent 004fc58 commit 15be353
1 file changed
Lines changed: 19 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
880 | | - | |
881 | 880 | | |
882 | 881 | | |
883 | 882 | | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
| 883 | + | |
890 | 884 | | |
891 | | - | |
| 885 | + | |
| 886 | + | |
892 | 887 | | |
893 | 888 | | |
894 | 889 | | |
| |||
982 | 977 | | |
983 | 978 | | |
984 | 979 | | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
985 | 995 | | |
986 | 996 | | |
987 | 997 | | |
| |||
992 | 1002 | | |
993 | 1003 | | |
994 | 1004 | | |
| 1005 | + | |
995 | 1006 | | |
996 | 1007 | | |
997 | 1008 | | |
| |||
0 commit comments