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/motu/amdtp-motu.c | |
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/motu/amdtp-motu.c')
-rw-r--r-- | sound/firewire/motu/amdtp-motu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/motu/amdtp-motu.c b/sound/firewire/motu/amdtp-motu.c index cb0c967dea63..62685f2528ce 100644 --- a/sound/firewire/motu/amdtp-motu.c +++ b/sound/firewire/motu/amdtp-motu.c @@ -429,7 +429,7 @@ int amdtp_motu_init(struct amdtp_stream *s, struct fw_unit *unit, return err; s->sph = 1; - s->fdf = MOTU_FDF_AM824; + s->ctx_data.rx.fdf = MOTU_FDF_AM824; return 0; } |