[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5hv9v6hhm9.wl-tiwai@suse.de>
Date: Fri, 09 Aug 2019 10:23:42 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Tony Lindgren <tony@...mide.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, alsa-devel@...a-project.org,
linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [alsa-devel] Regression in next with codec unload and snd_soc_component_get/put
On Fri, 09 Aug 2019 09:46:43 +0200,
Tony Lindgren wrote:
>
> * Takashi Iwai <tiwai@...e.de> [190809 07:25]:
> > On Fri, 09 Aug 2019 09:00:03 +0200,
> > Tony Lindgren wrote:
> > >
> > > Hi,
> > >
> > > Looks like commit 4a81e8f30d0b ("ASoC: soc-component: add
> > > snd_soc_component_get/put()") causes a regression where trying
> > > to rmmod a codec driver fails with module is in use error after
> > > rmmod of snd-soc-audio-graph-card for example.
> > >
> > > Any ideas what goes wrong there?
> >
> > There is an obvious typo: soc_cleanup_component() should call
> > snd_soc_component_module_put_when_remove() instead of *_close().
>
> Making that change locally seems to fix it thanks.
... and it was already fixed in the later commit 0e36f36b04e7
"ASoC: soc-core: fix module_put() warning in soc_cleanup_component".
Takashi
Powered by blists - more mailing lists