summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/intel/apl.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2019-11-22 20:56:02 +0100
committerMark Brown <broonie@kernel.org>2019-11-22 20:56:02 +0100
commit8c4d2a0bfbd27d030e4652b714cd5a1598f3559b (patch)
treed8ea72d906a690109d2f7aeeb2dc9ec529c0d5a6 /sound/soc/sof/intel/apl.c
parentMerge branch 'asoc-5.4' into asoc-linus (diff)
parentASoC: DMI long name - avoid to add board name if matches with product name (diff)
downloadlinux-8c4d2a0bfbd27d030e4652b714cd5a1598f3559b.tar.xz
linux-8c4d2a0bfbd27d030e4652b714cd5a1598f3559b.zip
Merge branch 'asoc-5.5' into asoc-next
Diffstat (limited to 'sound/soc/sof/intel/apl.c')
-rw-r--r--sound/soc/sof/intel/apl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/apl.c b/sound/soc/sof/intel/apl.c
index 8dc7a5558da4..7daa8eb456c8 100644
--- a/sound/soc/sof/intel/apl.c
+++ b/sound/soc/sof/intel/apl.c
@@ -97,6 +97,14 @@ const struct snd_sof_dsp_ops sof_apl_ops = {
.runtime_resume = hda_dsp_runtime_resume,
.runtime_idle = hda_dsp_runtime_idle,
.set_hw_params_upon_resume = hda_dsp_set_hw_params_upon_resume,
+ .set_power_state = hda_dsp_set_power_state,
+
+ /* ALSA HW info flags */
+ .hw_info = SNDRV_PCM_INFO_MMAP |
+ SNDRV_PCM_INFO_MMAP_VALID |
+ SNDRV_PCM_INFO_INTERLEAVED |
+ SNDRV_PCM_INFO_PAUSE |
+ SNDRV_PCM_INFO_NO_PERIOD_WAKEUP,
};
EXPORT_SYMBOL(sof_apl_ops);