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>
|
||
|---|---|---|
| .. | ||
| bebob.c | ||
| bebob.h | ||
| bebob_command.c | ||
| bebob_focusrite.c | ||
| bebob_hwdep.c | ||
| bebob_maudio.c | ||
| bebob_midi.c | ||
| bebob_pcm.c | ||
| bebob_proc.c | ||
| bebob_stream.c | ||
| bebob_terratec.c | ||
| bebob_yamaha.c | ||
| Makefile | ||