diff options
author | Takashi Iwai | 2022-11-12 09:52:24 +0100 |
---|---|---|
committer | Takashi Iwai | 2022-11-12 09:52:24 +0100 |
commit | 5534bbb7c658a6b21e118b0d22de36b5bbb19805 (patch) | |
tree | e3ef3bdfc5bab1a36c20bb0df0dc7b0df054d2ea /include/sound | |
parent | 9d8e536d36e75e76614fe09ffab9a1df95b8b666 (diff) | |
parent | 7d945b046be3d2605dbb1806e73095aadd7ae129 (diff) |
Merge tag 'asoc-fix-v6.2-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.1
A relatively large collection of fixes and new platform quirks here,
they're all fairly minor though - the widest possible impact is the fix
to the use of prefixes on regulator names which would have broken any
device that integrates regulators with DAPM and was used in a system
where it had a name prefix assigning to it.
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/sof/info.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/sof/info.h b/include/sound/sof/info.h index 65e86e4e9fd8..75193850ead0 100644 --- a/include/sound/sof/info.h +++ b/include/sound/sof/info.h @@ -36,6 +36,10 @@ enum sof_ipc_ext_data { SOF_IPC_EXT_USER_ABI_INFO = 4, }; +/* Build u32 number in format MMmmmppp */ +#define SOF_FW_VER(MAJOR, MINOR, PATCH) ((uint32_t)( \ + ((MAJOR) << 24) | ((MINOR) << 12) | (PATCH))) + /* FW version - SOF_IPC_GLB_VERSION */ struct sof_ipc_fw_version { struct sof_ipc_hdr hdr; |