]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: simplify function to calculate the number of data blocks
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 22 May 2015 14:00:51 +0000 (23:00 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sat, 23 May 2015 07:13:19 +0000 (09:13 +0200)
commit257680c796ce238a365e7851bb47b0dbc800bf2c
tree6a8c8105c389a0b1a477e7f9d8873a37f567482f
parentadff8cb4164ee9bf3f22ce4564d1e396adc728fb
ALSA: firewire-lib: simplify function to calculate the number of data blocks

This function is called according to conditions between the value of
syt and streaming mode(blocking or non-blocking).

To simplify caller's work, this commit push these conditions to the
function.

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