diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-01-20 17:25:50 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-21 15:12:20 +0100 |
commit | b1d0cb0ae511c0558155c4d4cbb852c9e53bfb67 (patch) | |
tree | 2c735660762dfa18187fdb04048b37a1eee20a94 /sound/firewire/fireface/ff-pcm.c | |
parent | ae3053c28b86f4f9d4480f6d3ac27f43d8e657ef (diff) |
ALSA: fireface: add protocol-dependent operation to get clock status
This commit adds a member for a callback function to get clock status
to former protocol.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/fireface/ff-pcm.c')
-rw-r--r-- | sound/firewire/fireface/ff-pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/fireface/ff-pcm.c b/sound/firewire/fireface/ff-pcm.c index d0bc96b20a65..5adf04b95c04 100644 --- a/sound/firewire/fireface/ff-pcm.c +++ b/sound/firewire/fireface/ff-pcm.c @@ -152,7 +152,7 @@ static int pcm_open(struct snd_pcm_substream *substream) if (err < 0) goto release_lock; - err = snd_ff_transaction_get_clock(ff, &rate, &src); + err = ff->spec->protocol->get_clock(ff, &rate, &src); if (err < 0) goto release_lock; |