OSDN Git Service

ALSA: maestro3: Proper endian notations
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 21:24:09 +0000 (23:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 27 Jul 2018 07:06:08 +0000 (09:06 +0200)
commit8c0ab942e05941ade5f1fca59d29b7034fdf164c
tree97895cb26d02ef431a5d84eb7488712cff2afa1d
parent7752a7de2596097c8f702fd652cba05118f83bcc
ALSA: maestro3: Proper endian notations

The ASSP data passed to maestro3 driver is in little-endian format,
hence the data pointer should be with __le16.

Spotted by sparse, warnings like:
  sound/pci/maestro3.c:2128:35: warning: cast to restricted __le16

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/maestro3.c