[alsa-devel] Patch to /sound/soc/pxa/pxa2xx_pcm.c, WHO IS INTERESTED?

Mark Brown broonie at sirena.org.uk
Fri Dec 19 13:32:13 CET 2008


On Fri, Dec 19, 2008 at 01:03:59PM +0100, Takashi Iwai wrote:
> Mark Brown wrote:

> > >  	kfree(prtd);
> > > +	runtime->private_data = NULL;
> > > +

> This looks superfluous.  The runtime instance will be anyway freed
> soon after the close callback.

Even if it wasn't the driver will overwrite it on open().  OTOH it
doesn't do any harm either.


More information about the Alsa-devel mailing list