diff options
| author | Gabriel Dalimonte <[email protected]> | 2025-06-01 16:45:36 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2025-06-10 08:47:04 +0000 |
| commit | c0317ad44f45b3c1f0ff46a4e28d14c7bccdedf4 (patch) | |
| tree | bd1fef518b511e5175e0999c68f0e8bec0657e26 /drivers/gpu/drm/meson/meson_encoder_hdmi.c | |
| parent | accel/amdxdna: Fix incorrect PSP firmware size (diff) | |
| download | kernel-c0317ad44f45b3c1f0ff46a4e28d14c7bccdedf4.tar.gz kernel-c0317ad44f45b3c1f0ff46a4e28d14c7bccdedf4.zip | |
drm/vc4: fix infinite EPROBE_DEFER loop
`vc4_hdmi_audio_init` calls `devm_snd_dmaengine_pcm_register` which may
return EPROBE_DEFER. Calling `drm_connector_hdmi_audio_init` adds a
child device. The driver model docs[1] state that adding a child device
prior to returning EPROBE_DEFER may result in an infinite loop.
[1] https://www.kernel.org/doc/html/v6.14/driver-api/driver-model/driver.html
Fixes: 9640f1437a88 ("drm/vc4: hdmi: switch to using generic HDMI Codec infrastructure")
Signed-off-by: Gabriel Dalimonte <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/meson/meson_encoder_hdmi.c')
0 files changed, 0 insertions, 0 deletions
