Commit be05e3de authored by Takashi Iwai's avatar Takashi Iwai

ALSA: riptide: Properly endian notations

The SG descriptor of Riptide contains the little-endian values, hence
we need to define with __le32 properly.  This fixes sparse warnings
like:
  sound/pci/riptide/riptide.c:1112:40: warning: cast to restricted __le32
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7362b0fc
......@@ -470,10 +470,10 @@ struct snd_riptide {
};
struct sgd { /* scatter gather desriptor */
u32 dwNextLink;
u32 dwSegPtrPhys;
u32 dwSegLen;
u32 dwStat_Ctl;
__le32 dwNextLink;
__le32 dwSegPtrPhys;
__le32 dwSegLen;
__le32 dwStat_Ctl;
};
struct pcmhw { /* pcm descriptor */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment