[alsa-devel] [PATCH] ASoC: max98090: Fix missing free_irq (part 2)

Mark Brown broonie at kernel.org
Thu Sep 18 19:54:34 CEST 2014


On Thu, Sep 18, 2014 at 01:48:44PM +0300, Jarkko Nikula wrote:

> ---
> for-next, I don't think this is critical enough for stable.
> ---

> @@ -2413,6 +2413,7 @@ static int max98090_remove(struct snd_soc_codec *codec)
>  {
>  	struct max98090_priv *max98090 = snd_soc_codec_get_drvdata(codec);
>  
> +	devm_free_irq(codec->dev, max98090->irq, codec);

If this is a fix for -next shouldn't we be doing the proper fix and
moving the resource acquisition to the bus probe?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140918/85bcc138/attachment.sig>


More information about the Alsa-devel mailing list