Skip to content
Commit a1d0503d authored by Laurent Pinchart's avatar Laurent Pinchart
Browse files

drm: adv7511: Fix crash in IRQ handler when no encoder is associated



The ADV7511 is probed before its slave encoder init function associates
it with an encoder. This creates a time window during which hot plug
detection interrupts can occur with an encoder, resulting in a crash in
the IRQ handler.

Fix this by ignoring hot plug detection IRQs when no encoder is
associated yet.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
parent bdcddf95
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment