diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-05-21 17:57:34 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-05-22 13:28:00 +0300 |
commit | d3d10a4a1b1950c2d20714c2511b5f58c99bab81 (patch) | |
tree | 272bfe369920e1449fb47d9ca07eeb9d0334d203 /sound/firewire/digi00x | |
parent | 8d3f1fdf521165cac96a21e35f5a1630147d91b1 (diff) | |
download | linux-d3d10a4a1b1950c2d20714c2511b5f58c99bab81.tar.xz |
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')
-rw-r--r-- | sound/firewire/digi00x/amdtp-dot.c | 2 |
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; |