Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple bindings of components

2015-10-15 Thread Koro Chen
On Thu, 2015-10-15 at 15:26 +0200, Lars-Peter Clausen wrote: > On 10/15/2015 02:10 PM, Mark Brown wrote: > > On Wed, Oct 14, 2015 at 11:00:01AM +0200, Lars-Peter Clausen wrote: > > > >> It was never intended that it is possible to bind a component to multiple > >> cards. That it was possible was a

Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple bindings of components

2015-10-15 Thread Lars-Peter Clausen
On 10/15/2015 02:10 PM, Mark Brown wrote: > On Wed, Oct 14, 2015 at 11:00:01AM +0200, Lars-Peter Clausen wrote: > >> It was never intended that it is possible to bind a component to multiple >> cards. That it was possible was a bug that was overlooked and some people >> tried to do it which caused

Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple bindings of components

2015-10-15 Thread Koro Chen
On Thu, 2015-10-15 at 13:10 +0100, Mark Brown wrote: > On Wed, Oct 14, 2015 at 11:00:01AM +0200, Lars-Peter Clausen wrote: > > > It was never intended that it is possible to bind a component to multiple > > cards. That it was possible was a bug that was overlooked and some people > > tried to do i

Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple bindings of components

2015-10-15 Thread Mark Brown
On Wed, Oct 14, 2015 at 11:00:01AM +0200, Lars-Peter Clausen wrote: > It was never intended that it is possible to bind a component to multiple > cards. That it was possible was a bug that was overlooked and some people > tried to do it which caused apparently random crashes later on, caused by >

Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple bindings of components

2015-10-14 Thread Lars-Peter Clausen
On 10/14/2015 03:19 AM, Koro Chen wrote: > On Tue, 2015-10-13 at 16:42 +0200, Lars-Peter Clausen wrote: >> On 10/13/2015 04:18 PM, Koro Chen wrote: >>> On Tue, 2015-10-13 at 15:44 +0200, Lars-Peter Clausen wrote: On 10/13/2015 03:37 PM, Koro Chen wrote: > The patch "ASoC: Prevent component

Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple bindings of components

2015-10-13 Thread Koro Chen
On Tue, 2015-10-13 at 16:42 +0200, Lars-Peter Clausen wrote: > On 10/13/2015 04:18 PM, Koro Chen wrote: > > On Tue, 2015-10-13 at 15:44 +0200, Lars-Peter Clausen wrote: > >> On 10/13/2015 03:37 PM, Koro Chen wrote: > >>> The patch "ASoC: Prevent components from being bound to multiple cards" > >>>

Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple bindings of components

2015-10-13 Thread Lars-Peter Clausen
On 10/13/2015 04:18 PM, Koro Chen wrote: > On Tue, 2015-10-13 at 15:44 +0200, Lars-Peter Clausen wrote: >> On 10/13/2015 03:37 PM, Koro Chen wrote: >>> The patch "ASoC: Prevent components from being bound to multiple cards" >>> adds check to prevent multiple cards from using the same component. >>>

Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple bindings of components

2015-10-13 Thread Koro Chen
On Tue, 2015-10-13 at 15:44 +0200, Lars-Peter Clausen wrote: > On 10/13/2015 03:37 PM, Koro Chen wrote: > > The patch "ASoC: Prevent components from being bound to multiple cards" > > adds check to prevent multiple cards from using the same component. > > However, snd_soc_register_platform() or snd

Re: [RFC PATCH] ASoC: Modify check condition of multiple bindings of components

2015-10-13 Thread Lars-Peter Clausen
On 10/13/2015 03:37 PM, Koro Chen wrote: > The patch "ASoC: Prevent components from being bound to multiple cards" > adds check to prevent multiple cards from using the same component. > However, snd_soc_register_platform() or snd_soc_register_codec() will > also create components, and sharing the

[RFC PATCH] ASoC: Modify check condition of multiple bindings of components

2015-10-13 Thread Koro Chen
The patch "ASoC: Prevent components from being bound to multiple cards" adds check to prevent multiple cards from using the same component. However, snd_soc_register_platform() or snd_soc_register_codec() will also create components, and sharing the same platform by multiple cards is then refused.