We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98881cf commit b195058Copy full SHA for b195058
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@ -364,6 +364,15 @@ static void handle_plugged_change(struct dw_hdmi *hdmi, bool plugged)
364
{
365
if (hdmi->plugged_cb && hdmi->codec_dev)
366
hdmi->plugged_cb(hdmi->codec_dev, plugged);
367
+ if (plugged && hdmi->ddc) {
368
+ struct edid *edid = drm_get_edid(&hdmi->connector, hdmi->ddc);
369
+ if (edid) {
370
+ if (hdmi->cec_notifier)
371
+ cec_notifier_set_phys_addr_from_edid(
372
+ hdmi->cec_notifier, edid);
373
+ kfree(edid);
374
+ }
375
376
}
377
378
int dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn,
0 commit comments