2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/vc4
Gabriel Dalimonte c0317ad44f
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: 9640f1437a ("drm/vc4: hdmi: switch to using generic HDMI Codec infrastructure")
Signed-off-by: Gabriel Dalimonte <gabriel.dalimonte@gmail.com>
Link: https://lore.kernel.org/r/20250601-vc4-audio-inf-probe-v2-1-9ad43c7b6147@gmail.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
2025-06-10 10:47:04 +02:00
..
tests drm/vc4: tests: Retry pv-muxing tests when EDEADLK 2025-04-07 10:29:45 +02:00
Kconfig drm/vc4: Use DRM Execution Contexts 2025-01-19 15:30:23 -03:00
Makefile
vc4_bo.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
vc4_crtc.c drm/vc4: Remove BOs seqnos 2025-01-19 15:31:00 -03:00
vc4_debugfs.c
vc4_dpi.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
vc4_drv.c Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
vc4_drv.h drm/vc4: Remove BOs seqnos 2025-01-19 15:31:00 -03:00
vc4_dsi.c drm/vc4: convert to devm_drm_bridge_alloc() API 2025-04-29 11:21:25 +02:00
vc4_fence.c
vc4_gem.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
vc4_hdmi_phy.c drm/vc4: hdmi: Add support for BCM2712 HDMI controllers 2024-11-27 14:37:20 +00:00
vc4_hdmi_regs.h drm/vc4: hdmi: Add support for BCM2712 HDMI controllers 2024-11-27 14:37:20 +00:00
vc4_hdmi.c drm/vc4: fix infinite EPROBE_DEFER loop 2025-06-10 10:47:04 +02:00
vc4_hdmi.h drm/vc4: hdmi: Add jack detection to HDMI audio driver 2025-03-25 18:40:12 +00:00
vc4_hvs.c drm/vc4: unlock on error in vc4_hvs_get_fifo_frame_count() 2024-12-12 14:37:30 +00:00
vc4_irq.c drm/vc4: Make v3d paths unavailable on any generation newer than vc4 2024-09-09 13:02:53 +01:00
vc4_kms.c drm/vc4: Add additional warn_on for incorrect revisions 2024-11-27 14:37:21 +00:00
vc4_packet.h
vc4_perfmon.c Backmerge v6.12-rc6 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2024-11-04 14:25:33 +10:00
vc4_plane.c drm/vc4: plane: fix inconsistent indenting warning 2025-03-09 14:49:55 -03:00
vc4_qpu_defines.h
vc4_regs.h drm/vc4: hdmi: Support 2712 D-step register map 2024-11-27 14:37:21 +00:00
vc4_render_cl.c drm/vc4: Make v3d paths unavailable on any generation newer than vc4 2024-09-09 13:02:53 +01:00
vc4_trace_points.c
vc4_trace.h
vc4_txp.c drm/connector: make mode_valid take a const struct drm_display_mode 2025-01-07 12:45:19 +02:00
vc4_v3d.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
vc4_validate_shaders.c drm/vc4: Make v3d paths unavailable on any generation newer than vc4 2024-09-09 13:02:53 +01:00
vc4_validate.c drm/vc4: Remove BOs seqnos 2025-01-19 15:31:00 -03:00
vc4_vec.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00