diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-10-18 22:39:52 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-10-19 11:57:03 +0200 |
commit | fef586d58960bc867c1fa8126ee5d7364a5a89ac (patch) | |
tree | 1d662b989705f706eeb917350a83131ca9b9f5ad /sound/firewire/tascam/tascam.c | |
parent | 463543ac2effaeb2b524f0a0a92f2413c23998ca (diff) |
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>
Diffstat (limited to 'sound/firewire/tascam/tascam.c')
0 files changed, 0 insertions, 0 deletions