Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1235878
| From | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ASoC: Codec: wm8962: balance pm_runtime_enable |
| Date | 2015-09-30 10:20 +0200 |
| Message-ID | <qekMj-7IF-33@gated-at.bofh.it> (permalink) |
| References | <qehEJ-36n-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Sep 30, 2015 at 01:54:13PM +0900, Jiada Wang wrote: > pm_runtime_enable is called in probe to enable runtime PM > for wm8962 codec, but pm_runtime_disable isn't called in remove > callback, nor is called in error path if probe fails after runtime > PM is enabled, this causes unbalanced pm_runtime_enable. > > This patch Adds pm_runtime_disable in remove callback and error path, > to balance pm_runtime_enable. > > Signed-off-by: Jiada Wang <jiada_wang@mentor.com> > --- Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Thanks, Charles -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] ASoC: Codec: wm8962: balance pm_runtime_enable Jiada Wang <jiada_wang@mentor.com> - 2015-09-30 07:00 +0200 Re: [PATCH] ASoC: Codec: wm8962: balance pm_runtime_enable Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-09-30 10:20 +0200 Re: [PATCH] ASoC: Codec: wm8962: balance pm_runtime_enable Mark Brown <broonie@kernel.org> - 2015-09-30 20:20 +0200
csiph-web