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

2015-05-14 Thread Laurent Pinchart
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 asso

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

2015-05-14 Thread Lars-Peter Clausen
On 05/14/2015 02:29 PM, Laurent Pinchart wrote: > 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