]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: fireface: share helper function to switch fetching mode
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 16 Dec 2018 08:32:29 +0000 (17:32 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sun, 16 Dec 2018 09:18:23 +0000 (10:18 +0100)
commit6b0a1cd2612c771dd4411f6748f5a18480237ffe
tree01b3b3a506d9176c57cb5e8e72623a54d3626967
parent5676333fe306204393bbb15f9a5ce57d71ce18f7
ALSA: fireface: share helper function to switch fetching mode

Both of Fireface 400/800 have the same register to switch frame fetching
mode regardless of difference of available number of PCM frames in
rx isochronous packet.

This commit moves a helper function from model-dependent implementation.

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