diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-03-01 12:12:16 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-01 12:49:06 +0300 |
commit | 8cdebf71098c07168ef6335e2f1f35d85dbe3049 (patch) | |
tree | 418e473b4233e1caa3c36928d680d4ec0293188e /sound/firewire/dice/dice-interface.h | |
parent | f2b14c0bc510c6a8f67a4f36049deefe5d99a537 (diff) | |
download | linux-8cdebf71098c07168ef6335e2f1f35d85dbe3049.tar.xz |
ALSA: dice: fix wrong offsets for Dice interface
For received packet stream, the offset of 'RX_SEQ_START' locates after
the offset of 'RX_NUMBER_MIDI', although current macro and proc output
includes wrong offsets.
Fortunately, this bug doesn't affect streaming functionality because
these macro is not used.
This commit fixes these wrong macro and outputs.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/dice/dice-interface.h')
-rw-r--r-- | sound/firewire/dice/dice-interface.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/firewire/dice/dice-interface.h b/sound/firewire/dice/dice-interface.h index 27b044f84c81..de7602bd69b5 100644 --- a/sound/firewire/dice/dice-interface.h +++ b/sound/firewire/dice/dice-interface.h @@ -299,23 +299,23 @@ #define RX_ISOCHRONOUS 0x008 /* - * Index of first quadlet to be interpreted; read/write. If > 0, that many - * quadlets at the beginning of each data block will be ignored, and all the - * audio and MIDI quadlets will follow. - */ -#define RX_SEQ_START 0x00c - -/* * The number of audio channels; read-only. There will be one quadlet per * channel. */ -#define RX_NUMBER_AUDIO 0x010 +#define RX_NUMBER_AUDIO 0x00c /* * The number of MIDI ports, 0-8; read-only. If > 0, there will be one * additional quadlet in each data block, following the audio quadlets. */ -#define RX_NUMBER_MIDI 0x014 +#define RX_NUMBER_MIDI 0x010 + +/* + * Index of first quadlet to be interpreted; read/write. If > 0, that many + * quadlets at the beginning of each data block will be ignored, and all the + * audio and MIDI quadlets will follow. + */ +#define RX_SEQ_START 0x014 /* * Names of all audio channels; read-only. Quadlets are byte-swapped. Names |