Skip to content

Commit 83f48ad

Browse files
committed
ASoC: SOF: Intel: improve HDaudio DAI support
Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: The SOF CI and daily tests exposed a number of issues with corner cases on platforms using the HDaudio DAI, such as UpExtreme boards or usual HDaudio+DMIC laptops. This patchset provides improvements for pause_push/pause_release, suspend-resume, mixing use cases and combinations of all three. The initial patches provide a cleanup, the last patches improve the state machine and DMA handling.
2 parents 0386dd9 + c4eb48f commit 83f48ad

11 files changed

Lines changed: 312 additions & 230 deletions

File tree

sound/soc/sof/intel/apl.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ int sof_apl_ops_init(struct snd_sof_dev *sdev)
4343
/* ipc */
4444
sof_apl_ops.send_msg = hda_dsp_ipc_send_msg;
4545

46+
/* set DAI driver ops */
47+
hda_set_dai_drv_ops(sdev, &sof_apl_ops);
48+
4649
/* debug */
4750
sof_apl_ops.debug_map = apl_dsp_debugfs;
4851
sof_apl_ops.debug_map_count = ARRAY_SIZE(apl_dsp_debugfs);

sound/soc/sof/intel/cnl.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,9 @@ int sof_cnl_ops_init(struct snd_sof_dev *sdev)
261261
/* ipc */
262262
sof_cnl_ops.send_msg = cnl_ipc_send_msg;
263263

264+
/* set DAI driver ops */
265+
hda_set_dai_drv_ops(sdev, &sof_cnl_ops);
266+
264267
/* debug */
265268
sof_cnl_ops.debug_map = cnl_dsp_debugfs;
266269
sof_cnl_ops.debug_map_count = ARRAY_SIZE(cnl_dsp_debugfs);

0 commit comments

Comments
 (0)