Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1339091

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

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [alsa-devel] [PATCH v2] ASoC: wm9713: fix regmap free path
Date 2016-02-22 04:00 +0100
Message-ID <r4OT8-7hh-21@gated-at.bofh.it> (permalink)
References <r4lHr-2li-1@gated-at.bofh.it> <r4OT8-7hh-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] ASoC: wm9713: fix regmap free path Robert Jarzmik <robert.jarzmik@free.fr> - 2016-02-20 20:50 +0100
  Re: [alsa-devel] [PATCH v2] ASoC: wm9713: fix regmap free path Mark Brown <broonie@kernel.org> - 2016-02-22 04:00 +0100
  Re: [alsa-devel] [PATCH v2] ASoC: wm9713: fix regmap free path Lars-Peter Clausen <lars@metafoo.de> - 2016-02-22 16:00 +0100

csiph-web