diff options
| author | Takashi Iwai <tiwai@suse.de> | 2022-11-16 12:54:02 +0100 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2022-11-16 12:54:06 +0100 |
| commit | d69d137e56304be744537fbb4ef9b0878fbc53d6 (patch) | |
| tree | c9a765be8da60ae977c96f728a47cdbeda65b1a5 /include/sound/sof/info.h | |
| parent | d59b6f215aa8bf52f36f72235752177fb79cf5b3 (diff) | |
| parent | 1abfd71ee8f3ed99c5d0df5d9843a360541d6808 (diff) | |
| download | linux-d69d137e56304be744537fbb4ef9b0878fbc53d6.tar.gz linux-d69d137e56304be744537fbb4ef9b0878fbc53d6.tar.bz2 linux-d69d137e56304be744537fbb4ef9b0878fbc53d6.zip | |
Merge branch 'for-linus' into for-next
Back-merge of devel branch for further fixes of memalloc helpers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/sof/info.h')
| -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; |
