Skip to content

Commit

Permalink
drm/bridge: megachips: get drm_device from bridge
Browse files Browse the repository at this point in the history
Fix so drm_device is read from the bridge.
This is a preparation for the connector being optional.

Signed-off-by: Sam Ravnborg <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Cc: Peter Senna Tschudin <[email protected]>
Cc: Martin Donnelly <[email protected]>
Cc: Martyn Welch <[email protected]>
Cc: Andrzej Hajda <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Jonas Karlman <[email protected]>
Cc: Jernej Skrabec <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
sravnborg committed Jul 27, 2020
1 parent 43c601a commit 77860a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ static irqreturn_t ge_b850v3_lvds_irq_handler(int irq, void *dev_id)
STDP4028_DPTX_IRQ_STS_REG,
STDP4028_DPTX_IRQ_CLEAR);

if (ge_b850v3_lvds_ptr->connector.dev)
drm_kms_helper_hotplug_event(ge_b850v3_lvds_ptr->connector.dev);
if (ge_b850v3_lvds_ptr->bridge.dev)
drm_kms_helper_hotplug_event(ge_b850v3_lvds_ptr->bridge.dev);

return IRQ_HANDLED;
}
Expand Down

0 comments on commit 77860a7

Please sign in to comment.