diff options
| author | Vedang Patel <vedang.patel@intel.com> | 2015-09-30 05:30:05 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2015-10-02 12:59:48 -0400 |
| commit | e8b3fe8f383bbf055cbd69b776fcbbb5ed3befcd (patch) | |
| tree | 797b196e9554154d455d69b258c8c539c1d48929 /include/uapi/sound | |
| parent | 7654855ef84d78079109bb38195a8db6b188117b (diff) | |
ASoC: topology: ABI - Use __le32 instead of __u32 in snd_soc_tplg_dapm_widget
This fixes the endianness of the ABI parameters in the struct.
The field 'num_kcontrols' is also extended from 16 bits to 32 bits.
Signed-off-by: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/uapi/sound')
| -rw-r--r-- | include/uapi/sound/asoc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h index 4bef63f5e1ff..88210a8e450f 100644 --- a/include/uapi/sound/asoc.h +++ b/include/uapi/sound/asoc.h | |||
| @@ -356,11 +356,11 @@ struct snd_soc_tplg_dapm_widget { | |||
| 356 | __le32 shift; /* bits to shift */ | 356 | __le32 shift; /* bits to shift */ |
| 357 | __le32 mask; /* non-shifted mask */ | 357 | __le32 mask; /* non-shifted mask */ |
| 358 | __le32 subseq; /* sort within widget type */ | 358 | __le32 subseq; /* sort within widget type */ |
| 359 | __u32 invert; /* invert the power bit */ | 359 | __le32 invert; /* invert the power bit */ |
| 360 | __u32 ignore_suspend; /* kept enabled over suspend */ | 360 | __le32 ignore_suspend; /* kept enabled over suspend */ |
| 361 | __u16 event_flags; | 361 | __le16 event_flags; |
| 362 | __u16 event_type; | 362 | __le16 event_type; |
| 363 | __u16 num_kcontrols; | 363 | __le32 num_kcontrols; |
| 364 | struct snd_soc_tplg_private priv; | 364 | struct snd_soc_tplg_private priv; |
| 365 | /* | 365 | /* |
| 366 | * kcontrols that relate to this widget | 366 | * kcontrols that relate to this widget |
