diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-06-17 11:15:01 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-06-18 09:45:26 +0300 |
commit | 18f26034be2711254adfa8923dfd263b50d4018a (patch) | |
tree | e6a2e0a58d406ec4d9776aeb0ac9d9b4a21716f7 /sound/firewire/motu/motu.h | |
parent | 7bc93821a70adc621df443c8b7a4745023c36e7c (diff) | |
download | linux-18f26034be2711254adfa8923dfd263b50d4018a.tar.xz |
ALSA: firewire-motu: unify the count of subscriber for packet streaming
Two counters are used to maintain isochronous packet streaming for both
directions. However, like the other drivers, they can be replaced with
one counter. This commit unifies them.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/motu/motu.h')
-rw-r--r-- | sound/firewire/motu/motu.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/firewire/motu/motu.h b/sound/firewire/motu/motu.h index 1cd112be7dad..ae4b37cdfade 100644 --- a/sound/firewire/motu/motu.h +++ b/sound/firewire/motu/motu.h @@ -60,8 +60,7 @@ struct snd_motu { struct amdtp_stream rx_stream; struct fw_iso_resources tx_resources; struct fw_iso_resources rx_resources; - unsigned int capture_substreams; - unsigned int playback_substreams; + unsigned int substreams_counter; /* For notification. */ struct fw_address_handler async_handler; |