[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56EB8F58.6040609@linux.intel.com>
Date: Fri, 18 Mar 2016 10:47:12 +0530
From: Vinod Koul <vinod.koul@...ux.intel.com>
To: Mark Brown <broonie@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>
Cc: "alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"tiwai@...e.com" <tiwai@...e.com>,
"lgirdwood@...il.com" <lgirdwood@...il.com>,
"Pan, Harry" <harry.pan@...el.com>,
"gs0622@...il.com" <gs0622@...il.com>
Subject: Re: [alsa-devel] [PATCH] ASoC: dapm: Do not traverse widget hooks to
snd-soc-dummy
On Thursday 17 March 2016 09:12 PM, Mark Brown wrote:
> On Thu, Mar 17, 2016 at 01:37:16PM +0100, Lars-Peter Clausen wrote:
>
>> I'd say as a quick fix for stable check that card is not NULL in
>> dapm_widget_show_component(). And as a longterm fix get rid of dapm_widget
>> file. Nobody should hopefully use it anymore with debugfs being available as
>> the far better alternative.
>
> Getting rid of the file is definitely not a bad idea but I'd still like
> to see us make the dummy component more consistent with other components
> in order to minimise the chances that we'll run into other special
> cases.
Right, I do see that we need dummy component to be fixed up. Today if we
use dummy twice in a card it refers to same instance whereas IMO it
should create separate instances. I will try something on these lines in
next month or so...
--
~Vinod
Powered by blists - more mailing lists