diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2016-02-08 14:54:20 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-02-09 12:22:11 +0100 |
commit | dfabc0eee1400b910d9e0f4bc55af8d2797927d2 (patch) | |
tree | 244dd971695be26916d5d25678b2813a31686265 /sound/firewire/dice/dice.h | |
parent | ALSA: dice: purge generating channel cache (diff) | |
download | linux-dfabc0eee1400b910d9e0f4bc55af8d2797927d2.tar.xz linux-dfabc0eee1400b910d9e0f4bc55af8d2797927d2.zip |
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 '')
-rw-r--r-- | sound/firewire/dice/dice.h | 1 |
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); |