[alsa-devel] [PATCH 1/7] ASoC: Fix cards getting stuck in a powered state.
Lars-Peter Clausen
lars at metafoo.de
Fri Apr 29 01:14:00 CEST 2011
On 04/28/2011 09:52 PM, Mark Brown wrote:
> On Thu, Apr 28, 2011 at 09:47:12PM +0200, Lars-Peter Clausen wrote:
>> On 04/28/2011 09:15 PM, Mark Brown wrote:
>
>>> For CODECs we can easily add some widgets for them based on the DAI, for
>>> cards we should just shove a random widget in there with the name of the
>>> card, it doesn't need to be wired up to anything.
>
>> For codecs we can use SND_SOC_DAPM_AIF_{IN,OUT} widgets.
>
> Quite, but they do also need to be connected to outputs and inputs so
> that they're part of complete paths.
Hm... right.
I know this isn't optimal, but would it be accepable to have a
SND_SOC_DAPM_STREAM(sname) widget, where the power_check function would just
consider stream's state, so we can get rid of the special casing without having
to mess with the codec drivers to much?
- Lars
More information about the Alsa-devel
mailing list