[alsa-devel] Question about struct snd_soc_dai() :: cpu_dai->codec

Mark Brown broonie at kernel.org
Wed Jul 27 20:04:56 CEST 2016


On Wed, Jul 27, 2016 at 10:51:26PM +0530, Vinod Koul wrote:
> On Wed, Jul 27, 2016 at 07:57:05AM +0200, Takashi Iwai wrote:

> > For unloading the module, yes, it should have been prevented by
> > managing the module refcount.  However, unbinding can't be stopped by
> > that.  It's a known problem.

> Oh yes, unload is an issue. Are these any solutions to prevent this?

> In core, should we de-register the card if one of the components exits. The
> .remove should be called for the driver, thus triggering unregister?

That's the theory but it's full of holes at the minute.  Someone needs
to sit down and fix all the holes in there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160727/07e75877/attachment.sig>


More information about the Alsa-devel mailing list