summaryrefslogtreecommitdiffstats
path: root/sound/firewire/tascam/tascam.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2015-10-18 22:39:52 +0900
committerTakashi Iwai <tiwai@suse.de>2015-10-19 11:57:03 +0200
commitfef586d58960bc867c1fa8126ee5d7364a5a89ac (patch)
tree1d662b989705f706eeb917350a83131ca9b9f5ad /sound/firewire/tascam/tascam.c
parent463543ac2effaeb2b524f0a0a92f2413c23998ca (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