]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: dapm: set power_check callback for widgets that shouldnt be always on
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Sat, 2 Mar 2019 01:08:53 +0000 (19:08 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 2 Apr 2019 05:55:30 +0000 (12:55 +0700)
commit6e3bfcff191ec9476ca5ef9b2ad85a15ba829374
tree997c01122d7c69fac7ce18657c1e32b55d65a977
parent6246f283d5e02ac757bd8d9bacde8fdc54c4582d
ASoC: dapm: set power_check callback for widgets that shouldnt be always on

Currently, buffers, schedulers, src's, encoders, decoders
and effect type dapm widgets remain always on as their
power_check method is not set. Setting this callback allows these
widgets in the audio path to be powered managed properly.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c