Skip to content

Commit f147f56

Browse files
committed
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>
1 parent 8129aec commit f147f56

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎sound/soc/soc-dapm.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3651,6 +3651,13 @@ snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm,
36513651
case snd_soc_dapm_dac:
36523652
case snd_soc_dapm_aif_in:
36533653
case snd_soc_dapm_pga:
3654+
case snd_soc_dapm_buffer:
3655+
case snd_soc_dapm_scheduler:
3656+
case snd_soc_dapm_effect:
3657+
case snd_soc_dapm_src:
3658+
case snd_soc_dapm_asrc:
3659+
case snd_soc_dapm_encoder:
3660+
case snd_soc_dapm_decoder:
36543661
case snd_soc_dapm_out_drv:
36553662
case snd_soc_dapm_micbias:
36563663
case snd_soc_dapm_line:

0 commit comments

Comments
 (0)