This fixes the endianness of the ABI parameters in the struct. The field 'num_kcontrols' is also extended from 16 bits to 32 bits.
Unified · Split
| @@ -356,11 +356,11 @@ struct snd_soc_tplg_dapm_widget { · 355 unmodified lines | ||
| 356 | 356 | __le32 shift; /* bits to shift */ |
| 357 | 357 | __le32 mask; /* non-shifted mask */ |
| 358 | 358 | __le32 subseq; /* sort within widget type */ |
| 359 | − __u32 invert; /* invert the power bit */ | |
| 360 | − __u32 ignore_suspend; /* kept enabled over suspend */ | |
| 361 | − __u16 event_flags; | |
| 362 | − __u16 event_type; | |
| 363 | − __u16 num_kcontrols; | |
| 359 | + __le32 invert; /* invert the power bit */ | |
| 360 | + __le32 ignore_suspend; /* kept enabled over suspend */ | |
| 361 | + __le16 event_flags; | |
| 362 | + __le16 event_type; | |
| 363 | + __le32 num_kcontrols; | |
| 364 | 364 | struct snd_soc_tplg_private priv; |
| 365 | 365 | /* |
| 366 | 366 | * kcontrols that relate to this widget |