Skip to content
Commit 0e7ca66a authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: mixart: Proper endian notations



The miXart driver deals with big-endian values as raw data, while it
declares most of variables as u32.  This leads to sparse warnings like
  sound/pci/mixart/mixart.c:1203:23: warning: cast to restricted __be32

Fix them by properly defining the structs and add the explicit cast to
macros.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent be05e3de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment