提交 fa2eb005 编写于 作者: A Andrea Gelmini 提交者: Takashi Iwai

sound: fixed typos

Signed-off-by: NAndrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 e799d0bc
...@@ -23,7 +23,7 @@ static int __devinit snd_vortex_mixer(vortex_t * vortex) ...@@ -23,7 +23,7 @@ static int __devinit snd_vortex_mixer(vortex_t * vortex)
if ((err = snd_ac97_bus(vortex->card, 0, &ops, NULL, &pbus)) < 0) if ((err = snd_ac97_bus(vortex->card, 0, &ops, NULL, &pbus)) < 0)
return err; return err;
memset(&ac97, 0, sizeof(ac97)); memset(&ac97, 0, sizeof(ac97));
// Intialize AC97 codec stuff. // Initialize AC97 codec stuff.
ac97.private_data = vortex; ac97.private_data = vortex;
ac97.scaps = AC97_SCAP_NO_SPDIF; ac97.scaps = AC97_SCAP_NO_SPDIF;
err = snd_ac97_mixer(pbus, &ac97, &vortex->codec); err = snd_ac97_mixer(pbus, &ac97, &vortex->codec);
......
...@@ -150,7 +150,7 @@ static int __init sffsdr_init(void) ...@@ -150,7 +150,7 @@ static int __init sffsdr_init(void)
sffsdr_snd_resources, sffsdr_snd_resources,
ARRAY_SIZE(sffsdr_snd_resources)); ARRAY_SIZE(sffsdr_snd_resources));
if (ret) { if (ret) {
printk(KERN_ERR "platform device add ressources failed\n"); printk(KERN_ERR "platform device add resources failed\n");
goto error; goto error;
} }
......
...@@ -182,7 +182,7 @@ static int neo1973_gta02_voice_hw_params( ...@@ -182,7 +182,7 @@ static int neo1973_gta02_voice_hw_params(
if (ret < 0) if (ret < 0)
return ret; return ret;
/* configue and enable PLL for 12.288MHz output */ /* configure and enable PLL for 12.288MHz output */
ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0,
iis_clkrate / 4, 12288000); iis_clkrate / 4, 12288000);
if (ret < 0) if (ret < 0)
......
...@@ -201,7 +201,7 @@ static int neo1973_voice_hw_params(struct snd_pcm_substream *substream, ...@@ -201,7 +201,7 @@ static int neo1973_voice_hw_params(struct snd_pcm_substream *substream,
if (ret < 0) if (ret < 0)
return ret; return ret;
/* configue and enable PLL for 12.288MHz output */ /* configure and enable PLL for 12.288MHz output */
ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0,
iis_clkrate / 4, 12288000); iis_clkrate / 4, 12288000);
if (ret < 0) if (ret < 0)
......
...@@ -36,9 +36,9 @@ ...@@ -36,9 +36,9 @@
plain usx2y alsa mode is able to achieve 64frames, 4periods, but only at the plain usx2y alsa mode is able to achieve 64frames, 4periods, but only at the
cost of easier triggered i.e. aeolus xruns (128 or 256frames, cost of easier triggered i.e. aeolus xruns (128 or 256frames,
2periods works but is useless cause of crackling). 2periods works but is useless cause of crackling).
This is a first "proof of concept" implementation. This is a first "proof of concept" implementation.
Later, funcionalities should migrate to more apropriate places: Later, functionalities should migrate to more apropriate places:
Userland: Userland:
- The jackd could mmap its float-pcm buffers directly from alsa-lib. - The jackd could mmap its float-pcm buffers directly from alsa-lib.
- alsa-lib could provide power of 2 period sized shaping combined with int/float - alsa-lib could provide power of 2 period sized shaping combined with int/float
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册