diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-16 15:10:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-16 15:10:31 -0400 |
commit | 661adc423d70203a56723701aaf255e16950dfdb (patch) | |
tree | 72a62c9016667cba8a63ab3f038c69df3692a085 /sound/soc | |
parent | 15bdb5652689d51cc0316de61774d2732472d9e1 (diff) | |
parent | 3b13b5ce8c1b52379aff80666d31d4354354b2d4 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
ALSA: ctxfi - Fix deadlock with xfi-timer
ALSA: intel8x0 - Fix PCM position craziness
ALSA: usb-audio - rework quirk for TerraTec Aureon USB 5.1 MkII
ASoC: magician: fix PXA SSP clock polarity
ASoC: Instantiate any forgotten DAPM widgets
ASoC: Revert duplicated code in SSM2602 driver
ALSA: hda - Add quirk for Acer Aspire 6935G
ALSA: ctxfi - Replace atc lock to mutex
ASoC: Remove odd bit clock ratios for WM8903
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/ssm2602.c | 4 | ||||
-rw-r--r-- | sound/soc/codecs/wm8903.c | 4 | ||||
-rw-r--r-- | sound/soc/pxa/magician.c | 2 | ||||
-rw-r--r-- | sound/soc/soc-core.c | 3 |
4 files changed, 4 insertions, 9 deletions
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c index 1fc4c8e0899c..c550750c79c0 100644 --- a/sound/soc/codecs/ssm2602.c +++ b/sound/soc/codecs/ssm2602.c | |||
@@ -375,10 +375,6 @@ static void ssm2602_shutdown(struct snd_pcm_substream *substream, | |||
375 | struct snd_soc_codec *codec = socdev->card->codec; | 375 | struct snd_soc_codec *codec = socdev->card->codec; |
376 | struct ssm2602_priv *ssm2602 = codec->private_data; | 376 | struct ssm2602_priv *ssm2602 = codec->private_data; |
377 | 377 | ||
378 | if (ssm2602->master_substream == substream) | ||
379 | ssm2602->master_substream = ssm2602->slave_substream; | ||
380 | |||
381 | ssm2602->slave_substream = NULL; | ||
382 | /* deactivate */ | 378 | /* deactivate */ |
383 | if (!codec->active) | 379 | if (!codec->active) |
384 | ssm2602_write(codec, SSM2602_ACTIVE, 0); | 380 | ssm2602_write(codec, SSM2602_ACTIVE, 0); |
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c index d8a9222fbf74..e8d2e3e14c45 100644 --- a/sound/soc/codecs/wm8903.c +++ b/sound/soc/codecs/wm8903.c | |||
@@ -1257,22 +1257,18 @@ static struct { | |||
1257 | int div; | 1257 | int div; |
1258 | } bclk_divs[] = { | 1258 | } bclk_divs[] = { |
1259 | { 10, 0 }, | 1259 | { 10, 0 }, |
1260 | { 15, 1 }, | ||
1261 | { 20, 2 }, | 1260 | { 20, 2 }, |
1262 | { 30, 3 }, | 1261 | { 30, 3 }, |
1263 | { 40, 4 }, | 1262 | { 40, 4 }, |
1264 | { 50, 5 }, | 1263 | { 50, 5 }, |
1265 | { 55, 6 }, | ||
1266 | { 60, 7 }, | 1264 | { 60, 7 }, |
1267 | { 80, 8 }, | 1265 | { 80, 8 }, |
1268 | { 100, 9 }, | 1266 | { 100, 9 }, |
1269 | { 110, 10 }, | ||
1270 | { 120, 11 }, | 1267 | { 120, 11 }, |
1271 | { 160, 12 }, | 1268 | { 160, 12 }, |
1272 | { 200, 13 }, | 1269 | { 200, 13 }, |
1273 | { 220, 14 }, | 1270 | { 220, 14 }, |
1274 | { 240, 15 }, | 1271 | { 240, 15 }, |
1275 | { 250, 16 }, | ||
1276 | { 300, 17 }, | 1272 | { 300, 17 }, |
1277 | { 320, 18 }, | 1273 | { 320, 18 }, |
1278 | { 440, 19 }, | 1274 | { 440, 19 }, |
diff --git a/sound/soc/pxa/magician.c b/sound/soc/pxa/magician.c index c89a3cdf31e4..326955dea36c 100644 --- a/sound/soc/pxa/magician.c +++ b/sound/soc/pxa/magician.c | |||
@@ -184,7 +184,7 @@ static int magician_playback_hw_params(struct snd_pcm_substream *substream, | |||
184 | 184 | ||
185 | /* set cpu DAI configuration */ | 185 | /* set cpu DAI configuration */ |
186 | ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_DSP_A | | 186 | ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_DSP_A | |
187 | SND_SOC_DAIFMT_IB_IF | SND_SOC_DAIFMT_CBS_CFS); | 187 | SND_SOC_DAIFMT_NB_IF | SND_SOC_DAIFMT_CBS_CFS); |
188 | if (ret < 0) | 188 | if (ret < 0) |
189 | return ret; | 189 | return ret; |
190 | 190 | ||
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 3f44150d8e30..1d70829464ef 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -1389,6 +1389,9 @@ int snd_soc_init_card(struct snd_soc_device *socdev) | |||
1389 | snprintf(codec->card->longname, sizeof(codec->card->longname), | 1389 | snprintf(codec->card->longname, sizeof(codec->card->longname), |
1390 | "%s (%s)", card->name, codec->name); | 1390 | "%s (%s)", card->name, codec->name); |
1391 | 1391 | ||
1392 | /* Make sure all DAPM widgets are instantiated */ | ||
1393 | snd_soc_dapm_new_widgets(codec); | ||
1394 | |||
1392 | ret = snd_card_register(codec->card); | 1395 | ret = snd_card_register(codec->card); |
1393 | if (ret < 0) { | 1396 | if (ret < 0) { |
1394 | printk(KERN_ERR "asoc: failed to register soundcard for %s\n", | 1397 | printk(KERN_ERR "asoc: failed to register soundcard for %s\n", |