OSDN Git Service

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)
commitd4a0b6cbf26ce7c22bcb070595957590736fec85
tree01b3b3a506d9176c57cb5e8e72623a54d3626967
parent3d16200a3e55a39caa1c88419cb559c00316f721
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