22 Oct
2014
22 Oct
'14
1:12 p.m.
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.