diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-10-20 13:36:38 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-22 07:11:38 -0400 |
commit | cdef2ad3ae64cc1ab2daeff26335e0dde988eed7 (patch) | |
tree | c10d76157fd806da9adfd59625458e13b46f04b6 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 7ddd4cd5c31ccaf32febe52462f9fdc915893212 (diff) |
ASoC: dapm: Remove special DAI widget power check functions
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.
The same applies for dapm_dac_check_power(), but with input and output paths
reversed.
This patch removes both dapm_adc_check_power() and dapm_dac_check_power()
and replace their usage with dapm_generic_check_power().
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions