diff options
Diffstat (limited to 'sound/soc/codecs/wmfw.h')
-rw-r--r-- | sound/soc/codecs/wmfw.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sound/soc/codecs/wmfw.h b/sound/soc/codecs/wmfw.h index 5632ded67fdd..ef163360a745 100644 --- a/sound/soc/codecs/wmfw.h +++ b/sound/soc/codecs/wmfw.h | |||
@@ -93,15 +93,20 @@ struct wmfw_adsp2_alg_hdr { | |||
93 | struct wmfw_coeff_hdr { | 93 | struct wmfw_coeff_hdr { |
94 | u8 magic[4]; | 94 | u8 magic[4]; |
95 | __le32 len; | 95 | __le32 len; |
96 | __le32 ver; | 96 | union { |
97 | __be32 rev; | ||
98 | __le32 ver; | ||
99 | }; | ||
100 | union { | ||
101 | __be32 core; | ||
102 | __le32 core_ver; | ||
103 | }; | ||
97 | u8 data[]; | 104 | u8 data[]; |
98 | } __packed; | 105 | } __packed; |
99 | 106 | ||
100 | struct wmfw_coeff_item { | 107 | struct wmfw_coeff_item { |
101 | union { | 108 | __le16 offset; |
102 | __be32 type; | 109 | __le16 type; |
103 | __le32 offset; | ||
104 | }; | ||
105 | __le32 id; | 110 | __le32 id; |
106 | __le32 ver; | 111 | __le32 ver; |
107 | __le32 sr; | 112 | __le32 sr; |