[PATCH] ASoC: hdac_hdmi: support 'ELD' mixer
Lu, Brent
brent.lu at intel.com
Tue Aug 18 02:53:39 CEST 2020
> > + /* add control for ELD Bytes */
> > + err = hdac_hdmi_create_eld_ctl(component, pcm);
> > + if (err < 0) {
> > + dev_err(&hdev->dev,
> > + "eld control add failed with err: %d for pcm: %d\n",
> > + err, device);
> > + kfree(pcm);
>
> pcm is allocated vida devm_kzalloc(), hence you shoudn't free it explicitly.
Will fix it in v2. Thanks.
Brent
>
>
> thanks,
>
> Takashi
More information about the Alsa-devel
mailing list