Re: [PATCH] ASoC: core: Remove only the registered component in devm functions

2020-07-07 Thread Mark Brown
On Tue, 7 Jul 2020 09:42:37 +0200, Maxime Ripard wrote: > The ASoC devm_ functions that register a component > (devm_snd_soc_register_component and devm_snd_dmaengine_pcm_register) will > clean their component by running snd_soc_unregister_component. > > snd_soc_unregister_component will then remo

[PATCH] ASoC: core: Remove only the registered component in devm functions

2020-07-07 Thread Maxime Ripard
The ASoC devm_ functions that register a component (devm_snd_soc_register_component and devm_snd_dmaengine_pcm_register) will clean their component by running snd_soc_unregister_component. snd_soc_unregister_component will then remove all the components for the device that was used to register the

Re: [PATCH] ASoC: core: Remove only the registered component in devm functions

2020-07-03 Thread Mark Brown
On Fri, Jul 03, 2020 at 09:49:35AM +0200, Maxime Ripard wrote: > The ASoC devm_ functions that register a component > (devm_snd_soc_register_component and devm_snd_dmaengine_pcm_register) will > clean their component by running snd_soc_unregister_component. This doesn't apply against current code,

[PATCH] ASoC: core: Remove only the registered component in devm functions

2020-07-03 Thread Maxime Ripard
The ASoC devm_ functions that register a component (devm_snd_soc_register_component and devm_snd_dmaengine_pcm_register) will clean their component by running snd_soc_unregister_component. snd_soc_unregister_component will then remove all the components for the device that was used to register the