ASoC: SOF: IPC: dai-intel: move ALH declarations in header file
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 25 Mar 2020 21:50:19 +0000 (16:50 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 27 Mar 2020 15:16:30 +0000 (15:16 +0000)
ALH was inserted in the wrong place during integration, add after DMIC
to mirror the file used by SOF firmware.

No functional change, just text move in the same file to better track
changes, if any.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200325215027.28716-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/dai-intel.h

index 5f1ef5565be69fc3bd8e94e7b2ede3add10a6907..04e48227f542b5cb804f14d8f01dc6d778f255de 100644 (file)
@@ -87,6 +87,15 @@ struct sof_ipc_dai_hda_params {
        uint32_t link_dma_ch;
 } __packed;
 
+/* ALH Configuration Request - SOF_IPC_DAI_ALH_CONFIG */
+struct sof_ipc_dai_alh_params {
+       struct sof_ipc_hdr hdr;
+       uint32_t stream_id;
+
+       /* reserved for future use */
+       uint32_t reserved[15];
+} __packed;
+
 /* DMIC Configuration Request - SOF_IPC_DAI_DMIC_CONFIG */
 
 /* This struct is defined per 2ch PDM controller available in the platform.
@@ -179,13 +188,4 @@ struct sof_ipc_dai_dmic_params {
        struct sof_ipc_dai_dmic_pdm_ctrl pdm[0];
 } __packed;
 
-/* ALH Configuration Request - SOF_IPC_DAI_ALH_CONFIG */
-struct sof_ipc_dai_alh_params {
-       struct sof_ipc_hdr hdr;
-       uint32_t stream_id;
-
-       /* reserved for future use */
-       uint32_t reserved[15];
-} __packed;
-
 #endif