ALSA: firewire-lib: Add 'direction' member to 'cmp_connection' structure
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 25 Apr 2014 13:44:55 +0000 (22:44 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 May 2014 12:22:14 +0000 (14:22 +0200)
commitc68a1c6584d066d0f2b7aa2117d2eddce2d01def
tree2493f740847f17778ccf1a41430bb5d6291d84ec
parenta7fa0d047f879bf3c744e9005769183abdf2ec4b
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>
sound/firewire/cmp.c
sound/firewire/cmp.h
sound/firewire/speakers.c