[alsa-devel] [PATCH -next] ASoC: mid-x86: add missing iounmap() to probe error and remove

Mark Brown broonie at kernel.org
Mon May 13 15:45:22 CEST 2013

On Mon, May 13, 2013 at 05:00:44PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> Add the missing iounmap() before return from snd_mfld_mc_probe()
> in the error handling case and to snd_mfld_mc_remove().

A better approach to this sort of issue is to convert to devm_,
eliminating the possibility of such errors in the future.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130513/61957aa2/attachment.sig>

More information about the Alsa-devel mailing list