mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
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@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
c5f53c1b13
commit
f934c3de4b
1 changed files with 5 additions and 5 deletions
|
|
@ -347,11 +347,11 @@ struct snd_soc_tplg_dapm_widget {
|
||||||
__le32 shift; /* bits to shift */
|
__le32 shift; /* bits to shift */
|
||||||
__le32 mask; /* non-shifted mask */
|
__le32 mask; /* non-shifted mask */
|
||||||
__le32 subseq; /* sort within widget type */
|
__le32 subseq; /* sort within widget type */
|
||||||
__u32 invert; /* invert the power bit */
|
__le32 invert; /* invert the power bit */
|
||||||
__u32 ignore_suspend; /* kept enabled over suspend */
|
__le32 ignore_suspend; /* kept enabled over suspend */
|
||||||
__u16 event_flags;
|
__le16 event_flags;
|
||||||
__u16 event_type;
|
__le16 event_type;
|
||||||
__u16 num_kcontrols;
|
__le32 num_kcontrols;
|
||||||
struct snd_soc_tplg_private priv;
|
struct snd_soc_tplg_private priv;
|
||||||
/*
|
/*
|
||||||
* kcontrols that relate to this widget
|
* kcontrols that relate to this widget
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue