ALSA: firewire-lib: Add 'direction' member to 'amdtp_stream' structure
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 25 Apr 2014 13:44:44 +0000 (22:44 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 May 2014 12:11:42 +0000 (14:11 +0200)
commit3ff7e8f0d455d7c1d8417ad3e71c324d8e704fc9
tree63972214fdc48d1b29c73abd138d7dadef7e974c
parentb445db440cf77ead4312b1918545abe06f6ee75b
ALSA: firewire-lib: Add 'direction' member to 'amdtp_stream' structure

This patch adds 'direction' member to amdtp_stream structure to indicate its
direction. This patch also adds 'direction' argument to amdtp_stream_init()
function to determine its direction.

The amdtp_stream_init() function is exported and used by firewire-speakers and
dice so this patch also affects them.

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/amdtp.c
sound/firewire/amdtp.h
sound/firewire/dice.c
sound/firewire/speakers.c