]> 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)
commitd96bc57162e9dc90303982c76563a969ba87ce85
tree6a8c8105c389a0b1a477e7f9d8873a37f567482f
parentf17678d681f781e936b5cb4cb32f647040a6f220
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