This fixes the endianness of the ABI parameters in the struct. The field 'num_kcontrols' is also extended from 16 bits to 32 bits.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -356,11 +356,11 @@ struct snd_soc_tplg_dapm_widget { · 355 unmodified lines | |||
| 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 |