]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe5ac4e706a6d789c767c9266db849ea4cc8b2e0
tree63972214fdc48d1b29c73abd138d7dadef7e974c
parentc488ad16e3677822bbd4d70a4ba7dbf972da7607
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