History

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.

Vedang Patel committed 11 years ago

Commit e8b3fe81 parent 76548551 file · +5 −5Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/sound/asoc.h+5−5
@@ -356,11 +356,11 @@ struct snd_soc_tplg_dapm_widget { · 355 unmodified lines
356356 __le32 shift; /* bits to shift */
357357 __le32 mask; /* non-shifted mask */
358358 __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;
364364 struct snd_soc_tplg_private priv;
365365 /*
366366 * kcontrols that relate to this widget

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t