Re: [alsa-devel] [PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-12 Thread Vinod
On 12-07-18, 10:26, Pierre-Louis Bossart wrote: > On 7/11/18 3:43 AM, Srinivas Kandagatla wrote: > > This patch aims at add achieving dynamic behaviour of audio card when > > the dependent components disappear and reappear. > > > > With this patch the card is removed if any of the dependent compon

Re: [alsa-devel] [PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-12 Thread Mark Brown
On Thu, Jul 12, 2018 at 10:54:05AM -0500, Pierre-Louis Bossart wrote: > On 7/12/18 10:42 AM, Takashi Iwai wrote: > > It's basically similar as the hotplug like USB, so I thought it would > > work as is. > Such transitions would probably not break userspace but they result from an > explicit user

Re: [alsa-devel] [PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-12 Thread Mark Brown
On Thu, Jul 12, 2018 at 05:42:30PM +0200, Takashi Iwai wrote: > Pierre-Louis Bossart wrote: > > On 7/11/18 3:43 AM, Srinivas Kandagatla wrote: > > > This patch aims at add achieving dynamic behaviour of audio card when > > > the dependent components disappear and reappear. > > Humm, no real comme

Re: [alsa-devel] [PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-12 Thread Pierre-Louis Bossart
On 7/12/18 10:42 AM, Takashi Iwai wrote: On Thu, 12 Jul 2018 17:26:00 +0200, Pierre-Louis Bossart wrote: On 7/11/18 3:43 AM, Srinivas Kandagatla wrote: This patch aims at add achieving dynamic behaviour of audio card when the dependent components disappear and reappear. With this patch the ca

Re: [alsa-devel] [PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-12 Thread Takashi Iwai
On Thu, 12 Jul 2018 17:26:00 +0200, Pierre-Louis Bossart wrote: > > On 7/11/18 3:43 AM, Srinivas Kandagatla wrote: > > This patch aims at add achieving dynamic behaviour of audio card when > > the dependent components disappear and reappear. > > > > With this patch the card is removed if any of th

Re: [PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-12 Thread Vinod
On 12-07-18, 13:02, Srinivas Kandagatla wrote: > Thanks Vinod for taking look at this! > > On 12/07/18 11:59, Vinod wrote: > > On 11-07-18, 09:43, Srinivas Kandagatla wrote: > > > This patch aims at add achieving dynamic behaviour of audio card when > > > the dependent components disappear and rea

Re: [PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-12 Thread Srinivas Kandagatla
Thanks Vinod for taking look at this! On 12/07/18 11:59, Vinod wrote: On 11-07-18, 09:43, Srinivas Kandagatla wrote: This patch aims at add achieving dynamic behaviour of audio card when the dependent components disappear and reappear. With this patch the card is removed if any of the dependen

Re: [PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-12 Thread Vinod
On 11-07-18, 09:43, Srinivas Kandagatla wrote: > This patch aims at add achieving dynamic behaviour of audio card when > the dependent components disappear and reappear. > > With this patch the card is removed if any of the dependent component > is removed and card is added back if the dependent c

[PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-11 Thread Srinivas Kandagatla
This patch aims at add achieving dynamic behaviour of audio card when the dependent components disappear and reappear. With this patch the card is removed if any of the dependent component is removed and card is added back if the dependent component comes back. All this is done using component fra