[PATCH] drm: bridge: adv7511: get edid in hpd_work to update CEC phys address

Alvin Šipraga ALSI at bang-olufsen.dk
Wed Oct 25 07:26:43 UTC 2023


Hi Jani,

On Mon, Oct 23, 2023 at 02:42:56PM +0300, Jani Nikula wrote:
> On Sat, 14 Oct 2023, Alvin Šipraga <alvin at pqrs.dk> wrote:
> > @@ -457,6 +460,9 @@ static void adv7511_hpd_work(struct work_struct *work)
> >  		if (adv7511->connector.dev) {
> >  			if (status == connector_status_disconnected)
> >  				cec_phys_addr_invalidate(adv7511->cec_adap);
> > +			else
> > +				adv7511_get_edid(adv7511, &adv7511->connector);
> 
> This leaks the returned EDID.

Thanks for catching this - I will fix in v2.

Kind regards,
Alvin


More information about the dri-devel mailing list