From: Vedang Patel Date: Wed, 30 Sep 2015 09:30:05 +0000 (+0800) Subject: ASoC: topology: ABI - Use __le32 instead of __u32 in snd_soc_tplg_dapm_widget X-Git-Tag: KARO-TX6UL-2015-11-03~79^2~7^2~1^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e8b3fe8f383bbf055cbd69b776fcbbb5ed3befcd;p=karo-tx-linux.git 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 Signed-off-by: Mengdong Lin Signed-off-by: Mark Brown --- 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 { __le32 shift; /* bits to shift */ __le32 mask; /* non-shifted mask */ __le32 subseq; /* sort within widget type */ - __u32 invert; /* invert the power bit */ - __u32 ignore_suspend; /* kept enabled over suspend */ - __u16 event_flags; - __u16 event_type; - __u16 num_kcontrols; + __le32 invert; /* invert the power bit */ + __le32 ignore_suspend; /* kept enabled over suspend */ + __le16 event_flags; + __le16 event_type; + __le32 num_kcontrols; struct snd_soc_tplg_private priv; /* * kcontrols that relate to this widget