[alsa-devel] [PATCH 03/12] ASoC: dapm: Only mark paths dirty when the connection status changed
Lars-Peter Clausen
lars at metafoo.de
Wed Oct 22 14:10:29 CEST 2014
On 10/22/2014 01:00 PM, Mark Brown wrote:
> On Mon, Oct 20, 2014 at 07:36:35PM +0200, Lars-Peter Clausen wrote:
>
>> +static bool soc_dapm_connect_path(struct snd_soc_dapm_path *path,
>> + bool connect, const char *reason)
>
> Why is this returning a value which is then ignored?
>
I was initially using it to not schedule the dapm_power_widgets(), but there
is potential for problems when the DAPM graph and the hardware state are
out-of-sync, in which case we still want to apply the register update. There
are some corner cases where this can happen and which need to be fixed first.
I can drop the return type for now.
- Lars
More information about the Alsa-devel
mailing list