Re: [alsa-devel] [PATCH v2] ASoC: wm9713: fix regmap free path

From: Mark Brown
Date: Sun Feb 21 2016 - 21:54:23 EST


On Sun, Feb 21, 2016 at 11:12:51AM +0100, Lars-Peter Clausen wrote:
> On 02/20/2016 08:44 PM, Robert Jarzmik wrote:

> > Fix this by removing the doubled regmap free.

> The correct fix is to use the non devm variant of regmap_init_ac97() in this
> case. Device managed functions should only be used from inside a struct
> device probe function.

Gah, didn't notice that we allocate in the non-default probe function :/
Dropped.

Attachment: signature.asc
Description: PGP signature