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

Takashi Iwai tiwai at suse.de
Fri Dec 19 13:03:59 CET 2008


At Fri, 19 Dec 2008 11:57:38 +0000,
Mark Brown wrote:
> 
> > @@ -266,6 +271,8 @@ static int pxa2xx_pcm_close(struct snd_p
> >  	dma_free_writecombine(substream->pcm->card->dev, PAGE_SIZE,
> >  			      prtd->dma_desc_array, prtd->dma_desc_array_phys);
> >  	kfree(prtd);
> > +	runtime->private_data = NULL;
> > +
> >  	return 0;
> >  }

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

Just a subtle thing, though.


Takashi


More information about the Alsa-devel mailing list