summaryrefslogtreecommitdiff
path: root/sound/firewire/dice/dice.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-02-08 22:54:20 +0900
committerTakashi Iwai <tiwai@suse.de>2016-02-09 12:22:11 +0100
commitdfabc0eee1400b910d9e0f4bc55af8d2797927d2 (patch)
tree244dd971695be26916d5d25678b2813a31686265 /sound/firewire/dice/dice.h
parent6f688268b3f4ba494bdf1f9755a3dfa4d91369f0 (diff)
ALSA: dice: ensure phase lock before starting streaming
In former commits, probing process has no need to set sampling transfer frequency. Although it's OK to drop a function to change the frequency from this module, some models require it before streaming. This seems to be due to phase lock of clock source. This commit moves the function from transaction layer to stream layer, and rename it according to the purpose. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/dice/dice.h')
-rw-r--r--sound/firewire/dice/dice.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/firewire/dice/dice.h b/sound/firewire/dice/dice.h
index c968f9887af6..423cdba99726 100644
--- a/sound/firewire/dice/dice.h
+++ b/sound/firewire/dice/dice.h
@@ -154,7 +154,6 @@ static inline int snd_dice_transaction_read_sync(struct snd_dice *dice,
int snd_dice_transaction_get_clock_source(struct snd_dice *dice,
unsigned int *source);
-int snd_dice_transaction_set_rate(struct snd_dice *dice, unsigned int rate);
int snd_dice_transaction_get_rate(struct snd_dice *dice, unsigned int *rate);
int snd_dice_transaction_set_enable(struct snd_dice *dice);
void snd_dice_transaction_clear_enable(struct snd_dice *dice);