diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2018-12-16 17:32:29 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-12-16 10:18:23 +0100 |
commit | d4a0b6cbf26ce7c22bcb070595957590736fec85 (patch) | |
tree | 01b3b3a506d9176c57cb5e8e72623a54d3626967 /sound/firewire/fireface/ff.h | |
parent | 3d16200a3e55a39caa1c88419cb559c00316f721 (diff) | |
download | linux-d4a0b6cbf26ce7c22bcb070595957590736fec85.tar.bz2 |
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>
Diffstat (limited to 'sound/firewire/fireface/ff.h')
-rw-r--r-- | sound/firewire/fireface/ff.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/firewire/fireface/ff.h b/sound/firewire/fireface/ff.h index 6e4a8197d3ca..17332d9ae3f2 100644 --- a/sound/firewire/fireface/ff.h +++ b/sound/firewire/fireface/ff.h @@ -111,7 +111,6 @@ struct snd_ff_protocol { void (*handle_midi_msg)(struct snd_ff *ff, __le32 *buf, size_t length); int (*begin_session)(struct snd_ff *ff, unsigned int rate); void (*finish_session)(struct snd_ff *ff); - int (*switch_fetching_mode)(struct snd_ff *ff, bool enable); }; extern const struct snd_ff_protocol snd_ff_protocol_ff800; |