diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2014-04-25 22:44:55 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-26 14:22:14 +0200 |
commit | c68a1c6584d066d0f2b7aa2117d2eddce2d01def (patch) | |
tree | 2493f740847f17778ccf1a41430bb5d6291d84ec /sound/firewire/cmp.c | |
parent | a7fa0d047f879bf3c744e9005769183abdf2ec4b (diff) | |
download | blackbird-op-linux-c68a1c6584d066d0f2b7aa2117d2eddce2d01def.tar.gz blackbird-op-linux-c68a1c6584d066d0f2b7aa2117d2eddce2d01def.zip |
ALSA: firewire-lib: Add 'direction' member to 'cmp_connection' structure
This patch adds 'direction' member to 'cmp_connection' structure to indicate
the direction of connection. This patch also adds 'direction' argument to
cmp_connection_init() function to determine the direction.
The cmp_connection_init() function is exported and used in snd-firewire-speakers
so this patch also affect it.
This patch just add them. Actual implementation will be done by followed
patches.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/cmp.c')
-rw-r--r-- | sound/firewire/cmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/firewire/cmp.c b/sound/firewire/cmp.c index deb494d6e785..c7f7a3164390 100644 --- a/sound/firewire/cmp.c +++ b/sound/firewire/cmp.c @@ -94,6 +94,7 @@ static int pcr_modify(struct cmp_connection *c, */ int cmp_connection_init(struct cmp_connection *c, struct fw_unit *unit, + enum cmp_direction direction, unsigned int pcr_index) { __be32 mpr_be; |