diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-12-01 12:02:17 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-01 12:02:17 -0500 |
commit | 3af4182cc5be7d5505f9801ee3297373f1872446 (patch) | |
tree | 214348d40ed547a72f9612a7e5c94a01afded812 /sound/soc | |
parent | f5d4c67e41a262f0cdfaec1bb0fa8e5952187ef9 (diff) | |
parent | c07f62e5f18123103459ff74e86af1518a5b8af5 (diff) |
Merge branch 'upstream' into topic/asoc
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/fsl/Kconfig | 3 | ||||
-rw-r--r-- | sound/soc/soc-core.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index bba9546ba5f5..8d73edc56102 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig | |||
@@ -20,7 +20,8 @@ config SND_SOC_MPC8610_HPCD | |||
20 | 20 | ||
21 | config SND_SOC_MPC5200_I2S | 21 | config SND_SOC_MPC5200_I2S |
22 | tristate "Freescale MPC5200 PSC in I2S mode driver" | 22 | tristate "Freescale MPC5200 PSC in I2S mode driver" |
23 | depends on SND_SOC && PPC_MPC52xx && PPC_BESTCOMM | ||
23 | select SND_SOC_OF_SIMPLE | 24 | select SND_SOC_OF_SIMPLE |
24 | depends on SND_SOC && PPC_MPC52xx | 25 | select PPC_BESTCOMM_GEN_BD |
25 | help | 26 | help |
26 | Say Y here to support the MPC5200 PSCs in I2S mode. | 27 | Say Y here to support the MPC5200 PSCs in I2S mode. |
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 00fccdd41bb0..13b4aaff0e9c 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -88,8 +88,8 @@ static int soc_ac97_dev_register(struct snd_soc_codec *codec) | |||
88 | codec->ac97->dev.parent = NULL; | 88 | codec->ac97->dev.parent = NULL; |
89 | codec->ac97->dev.release = soc_ac97_device_release; | 89 | codec->ac97->dev.release = soc_ac97_device_release; |
90 | 90 | ||
91 | snprintf(codec->ac97->dev.bus_id, BUS_ID_SIZE, "%d-%d:%s", | 91 | dev_set_name(&codec->ac97->dev, "%d-%d:%s", |
92 | codec->card->number, 0, codec->name); | 92 | codec->card->number, 0, codec->name); |
93 | err = device_register(&codec->ac97->dev); | 93 | err = device_register(&codec->ac97->dev); |
94 | if (err < 0) { | 94 | if (err < 0) { |
95 | snd_printk(KERN_ERR "Can't register ac97 bus\n"); | 95 | snd_printk(KERN_ERR "Can't register ac97 bus\n"); |