[alsa-devel] [PATCH 1/2] ASoC: wm8804: Fix small issues in probe error path

Mark Brown broonie at kernel.org
Mon Mar 2 19:03:51 CET 2015


On Mon, Mar 02, 2015 at 05:57:54PM +0000, Charles Keepax wrote:

> The regulator notifiers were not being cleared up on the error path in
> wm8804_probe and the nothing was being cleared up if
> snd_soc_register_codec failed. This patch fixes these issues.

Why not fix this at source by adding a devm_ notifier registration?
-------------- 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/20150302/58cf1e40/attachment.sig>


More information about the Alsa-devel mailing list