diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-11-02 12:36:52 +0900 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-11-05 08:54:45 +0100 |
| commit | 64d3a2c8e7bc0d3cf144d71ee2fb357c15b6c71f (patch) | |
| tree | f9bae5fe1b508d52da3dc38bb47f549cc949a326 | |
| parent | 5cdee541b37c6d29a6e05cb2a875a365cfbcf520 (diff) | |
ALSA: firewire: fix inverted streaming speed between tx and rx streams
ALSA firewire-tascam driver uses inverted streaming speed when reserving
isochronous resources between tx and rx streams.
Correct the streaming speeds. This has no impact on existing
functionality, as both streams are always reserved together when handling
PCM substreams.
Fixes: dbd0cf204fe6 ("ALSA: firewire-tascam: reserve resources for transferred isochronous packets at S400")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20261102033652.1184893-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
| -rw-r--r-- | sound/firewire/tascam/tascam-stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/tascam/tascam-stream.c b/sound/firewire/tascam/tascam-stream.c index 4ecd151a46c1..462766946e94 100644 --- a/sound/firewire/tascam/tascam-stream.c +++ b/sound/firewire/tascam/tascam-stream.c @@ -287,10 +287,10 @@ static int keep_resources(struct snd_tscm *tscm, unsigned int rate, if (stream == &tscm->tx_stream) { resources = &tscm->tx_resources; - speed = fw_parent_device(tscm->unit)->max_speed; + speed = SCODE_400; } else { resources = &tscm->rx_resources; - speed = SCODE_400; + speed = fw_parent_device(tscm->unit)->max_speed; } err = amdtp_tscm_set_parameters(stream, rate); |
