History

ASoC: Merge up fixes

Merge the fixes branch up so we can apply further AMD work.

Mark Brown committed 3 years ago

Commit aeb2e9c2 parents 863b917 3d1bb6c35 files · +223 −108Browse files

Showing the changes to include/sound/sof (2 of 35 files). Show all

Unified · Split

2 files
  1. include/sound/sof/dai.h +1 −1
  2. include/sound/sof/info.h +4 −0
include/sound/sof/dai.h+1−1
@@ -84,8 +84,8 @@ enum sof_ipc_dai_type { · 83 unmodified lines
8484 SOF_DAI_AMD_BT, /**< AMD ACP BT*/
8585 SOF_DAI_AMD_SP, /**< AMD ACP SP */
8686 SOF_DAI_AMD_DMIC, /**< AMD ACP DMIC */
87− SOF_DAI_AMD_HS, /**< Amd HS */
8887 SOF_DAI_MEDIATEK_AFE, /**< Mediatek AFE */
88+ SOF_DAI_AMD_HS, /**< Amd HS */
8989 };
9090
9191 /* general purpose DAI configuration */
include/sound/sof/info.h+4−0
@@ -36,6 +36,10 @@ enum sof_ipc_ext_data { · 35 unmodified lines
3636 SOF_IPC_EXT_USER_ABI_INFO = 4,
3737 };
3838
39+/* Build u32 number in format MMmmmppp */
40+#define SOF_FW_VER(MAJOR, MINOR, PATCH) ((uint32_t)( \
41+ ((MAJOR) << 24) | ((MINOR) << 12) | (PATCH)))
42+
3943 /* FW version - SOF_IPC_GLB_VERSION */
4044 struct sof_ipc_fw_version {
4145 struct sof_ipc_hdr hdr;