[alsa-devel] [PATCH] ASoC: fsl: Fix error handling if platform_device_add fails

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Sep 20 14:04:00 CEST 2011


On Tue, Sep 20, 2011 at 03:09:00PM +0800, Axel Lin wrote:
> Call platform_device_put() instead of platform_device_unregister() if
> platform_device_add() fails.

Applied, thanks.


More information about the Alsa-devel mailing list