[alsa-devel] Question about struct snd_soc_dai() :: cpu_dai->codec
Mark Brown
broonie at kernel.org
Thu Aug 4 12:28:26 CEST 2016
On Thu, Aug 04, 2016 at 12:17:57PM +0900, Takashi Sakamoto wrote:
> On Jul 30 2016 07:08, Mark Brown wrote:
> > The card should be deinstantiated and reinstantiated whenever a
> > component driver unbinds and rebinds (respectively). You'd need to
> > completely deregister the card to change the list of things it's
> > expecting currently.
> In a point of application interfaces, I guess that current implementation of
> ALSA soc part includes a bug that it's possible to unload codec or component
> modules when any ALSA character devices are opened. The framework has no
> codes to manage reference counting of character devices or loaded codecs,
> components.
Yes, exactly - we don't cope very well with that situation and we really
ought to but since it's hard to trigger without trying in practice it's
never been a priority.
-------------- 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/20160804/f9987543/attachment.sig>
More information about the Alsa-devel
mailing list