1
0
Fork 0
alistair23-linux/sound/firewire/fireworks
Takashi Sakamoto 463543ac2e ALSA: fireworks: use u32 type for be32_to_cpup() macro
In former commit, snd_efw_command_get_phys_meters() was added to handle
metering data. The given buffer is used to save transaction result and to
convert between endianness. But this causes sparse warnings.

fireworks_command.c:269:25: warning: incorrect type in argument 1 (different base types)
fireworks_command.c:269:25:    expected unsigned int [usertype] *p
fireworks_command.c:269:25:    got restricted __be32 [usertype] *

This commit fixes this bug.

Fixes: bde8a8f23bbe('ALSA: fireworks: Add transaction and some commands')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-10-19 11:57:02 +02:00
..
Makefile ALSA: fireworks/bebob/oxfw/dice: enable to make as built-in 2015-10-18 09:08:11 +02:00
fireworks.c ALSA: firewire-lib: rename macros with AM824 prefix 2015-09-29 12:50:23 +02:00
fireworks.h ALSA: firewire-lib: add data block processing layer for AM824 format 2015-09-29 12:47:45 +02:00
fireworks_command.c ALSA: fireworks: use u32 type for be32_to_cpup() macro 2015-10-19 11:57:02 +02:00
fireworks_hwdep.c ALSA: fireworks: Use safer way to arrange ring buffer pointer 2014-06-04 14:35:40 +02:00
fireworks_midi.c ALSA: firewire-lib: move MIDI trigger helper function to AM824 layer 2015-09-29 12:48:49 +02:00
fireworks_pcm.c ALSA: firewire-lib: rename macros with AM824 prefix 2015-09-29 12:50:23 +02:00
fireworks_proc.c ALSA: fireworks: fix specifiers in format strings for propper output 2014-08-05 09:15:20 +02:00
fireworks_stream.c ALSA: firewire-lib: rename parameter setting function for AM824 with FDF field 2015-09-29 12:48:02 +02:00
fireworks_transaction.c ALSA: firewire: Fix trivial typos in comments 2015-03-10 12:40:30 +01:00