aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/firewire/digi00x/amdtp-dot.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2019-05-21 23:57:34 +0900
committerTakashi Iwai <tiwai@suse.de>2019-05-22 12:28:00 +0200
commitd3d10a4a1b1950c2d20714c2511b5f58c99bab81 (patch)
tree272bfe369920e1449fb47d9ca07eeb9d0334d203 /sound/firewire/digi00x/amdtp-dot.c
parentALSA: firewire-lib: unify tracing events to 'amdtp_packet' event (diff)
downloadwireguard-linux-d3d10a4a1b1950c2d20714c2511b5f58c99bab81.tar.xz
wireguard-linux-d3d10a4a1b1950c2d20714c2511b5f58c99bab81.zip
ALSA: firewire-lib: use union for directional parameters
Some parameters of struct amdtp_stream is dependent on direction. This commit uses union for such parameters to distinguish from common parameters. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/digi00x/amdtp-dot.c')
-rw-r--r--sound/firewire/digi00x/amdtp-dot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/digi00x/amdtp-dot.c b/sound/firewire/digi00x/amdtp-dot.c
index 4a884a335248..3fb1997dca30 100644
--- a/sound/firewire/digi00x/amdtp-dot.c
+++ b/sound/firewire/digi00x/amdtp-dot.c
@@ -128,7 +128,7 @@ int amdtp_dot_set_parameters(struct amdtp_stream *s, unsigned int rate,
if (err < 0)
return err;
- s->fdf = AMDTP_FDF_AM824 | s->sfc;
+ s->ctx_data.rx.fdf = AMDTP_FDF_AM824 | s->sfc;
p->pcm_channels = pcm_channels;