WSL2-Linux-Kernel/sound/firewire/bebob
Takashi Sakamoto fef586d589 ALSA: bebob: use correct type for __be32 data
In former commit, metering is supported for BeBoB based models
customized by M-Audio. The data in transaction is aligned to
big-endianness, while in the driver code u16 typed variable is assigned
to the data. This causes sparse warnings.

bebob_maudio.c:651:31: warning: cast to restricted __be16
bebob_maudio.c:651:31: warning: cast to restricted __be16
bebob_maudio.c:651:31: warning: cast to restricted __be16
bebob_maudio.c:651:31: warning: cast to restricted __be16

This commit fixes this bug by using __be16 variable for the data.

Fixes: 3149ac489ff8('ALSA: bebob: Add support for M-Audio special Firewire series')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-10-19 11:57:03 +02:00
..
Makefile ALSA: fireworks/bebob/oxfw/dice: enable to make as built-in 2015-10-18 09:08:11 +02:00
bebob.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob.h ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob_command.c ALSA: bebob: Prepare for device specific operations 2014-05-26 14:31:15 +02:00
bebob_focusrite.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob_hwdep.c ALSA: bebob: Add hwdep interface 2014-05-26 14:31:03 +02:00
bebob_maudio.c ALSA: bebob: use correct type for __be32 data 2015-10-19 11:57:03 +02:00
bebob_midi.c ALSA: firewire-lib: move MIDI trigger helper function to AM824 layer 2015-09-29 12:48:49 +02:00
bebob_pcm.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob_proc.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob_stream.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob_terratec.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob_yamaha.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00