]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: complete AM824 data block processing layer
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 19 Sep 2015 02:22:02 +0000 (11:22 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Sep 2015 10:51:20 +0000 (12:51 +0200)
commit37d52359e8a05c888d3bfb60832fe3fa8e1f5893
tree6fbde961132507f27c5fde6f5693139e6ac37ee4
parent6c817ceadf3dacc88add14fd17e2ff4606e67d1d
ALSA: firewire-lib: complete AM824 data block processing layer

This commit moves the codes related to data block processing from packet
streaming layer to AM824 layer.

Each driver initializes amdtp stream structure for AM824 data block by
calling amdtp_am824_init(). Then, a memory block is allocated for AM824
specific structure. This memory block is released by calling
amdtp_stream_destroy().

When setting streaming parameters, it calls amdtp_am824_set_parameters().
When starting packet streaming, it calls amdtp_stream_start(). When
stopping packet streaming, it calls amdtp_stream_stop().

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-am824.c
sound/firewire/amdtp-am824.h
sound/firewire/amdtp-stream.c
sound/firewire/amdtp-stream.h