[alsa-devel] [PATCH 06/12] ASoC: dapm: Remove special DAI widget power check functions

Mark Brown broonie at kernel.org
Wed Oct 22 13:12:50 CEST 2014


On Mon, Oct 20, 2014 at 07:36:38PM +0200, Lars-Peter Clausen wrote:
> dapm_adc_check_power() checks if the widget is active, if yes it only checks
> whether there are any connected input paths. Otherwise it calls
> dapm_generic_check_power() which will check for both connected input and
> output paths. But the function that checks for connected output paths will
> return true if the widget is a active sink. Which means the generic power
> check function will work just fine and there is no need for a special power
> check function.

Applied, thanks.  IIRC it did make a difference when we weren't hooking
things into DAPM properly but that's bitrot now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141022/cf667a7a/attachment.sig>


More information about the Alsa-devel mailing list