aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/firewire/amdtp-stream.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2021-05-18 22:00:42 +0900
committerTakashi Iwai <tiwai@suse.de>2021-05-18 18:11:01 +0200
commitd32872f30604ce925ead5dcc322369dc4f08ac88 (patch)
treee9206eb3502ff7cd75140a69f90ae85e14a3c746 /sound/firewire/amdtp-stream.h
parentALSA: firewire-lib: handle the case that empty isochronous packet payload for CIP (diff)
downloadwireguard-linux-d32872f30604ce925ead5dcc322369dc4f08ac88.tar.xz
wireguard-linux-d32872f30604ce925ead5dcc322369dc4f08ac88.zip
ALSA: firewire-lib: code refactoring for sequence descriptor'
A internal structure is used to gather parameters relevant to sequence descriptor. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20210518130048.146596-4-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/amdtp-stream.h')
-rw-r--r--sound/firewire/amdtp-stream.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sound/firewire/amdtp-stream.h b/sound/firewire/amdtp-stream.h
index c69042013245..5f5e4d938a0d 100644
--- a/sound/firewire/amdtp-stream.h
+++ b/sound/firewire/amdtp-stream.h
@@ -287,9 +287,11 @@ struct amdtp_domain {
struct amdtp_stream *irq_target;
- struct seq_desc *seq_descs;
- unsigned int seq_size;
- unsigned int seq_tail;
+ struct {
+ struct seq_desc *descs;
+ unsigned int size;
+ unsigned int tail;
+ } seq;
unsigned int data_block_state;
unsigned int syt_offset_state;