[alsa-devel] [PATCH 1/2] ASoC: wm8804: Fix small issues in probe error path
Charles Keepax
ckeepax at opensource.wolfsonmicro.com
Mon Mar 2 19:15:56 CET 2015
On Mon, Mar 02, 2015 at 06:03:51PM +0000, Mark Brown wrote:
> 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?
Oops.. yeah that is almost certainly better. I will respin for
that.
Thanks,
Charles
More information about the Alsa-devel
mailing list