[alsa-devel] [PATCH 1/3] ASoC: soc-core: add component remove/unregister_exp/lookup functions
Mark Brown
broonie at kernel.org
Wed Aug 2 15:17:52 CEST 2017
On Wed, Aug 02, 2017 at 11:35:38AM +0000, Kuninori Morimoto wrote:
> > Isn't this just a convenience for drivers though? It means they can
> > just clean things up with one call and I'm having a hard time thinking
> > of any use cases for only unregistering some components.
> This means like this
> or do we want to have like this ?
> register_component(dev, driver_A);
> register_component(dev, driver_B);
> unregister_component(dev); /* unregister both driver_A/driver_B */
This was what I was thinking of. It might not actually be the most
sensible thing but I'm pretty sure it's what I was thinking when things
were set up originally, if there's other use cases we might need to
change.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170802/63c291cc/attachment.sig>
More information about the Alsa-devel
mailing list