aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/ac97/ac97_codec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c
index bdb6a8cc0ae6..9faeaefc8e6e 100644
--- a/sound/pci/ac97/ac97_codec.c
+++ b/sound/pci/ac97/ac97_codec.c
@@ -137,7 +137,7 @@ static const struct ac97_codec_id snd_ac97_codec_ids[] = {
137{ 0x43585421, 0xffffffff, "HSD11246", NULL, NULL }, // SmartMC II 137{ 0x43585421, 0xffffffff, "HSD11246", NULL, NULL }, // SmartMC II
138{ 0x43585428, 0xfffffff8, "Cx20468", patch_conexant, NULL }, // SmartAMC fixme: the mask might be different 138{ 0x43585428, 0xfffffff8, "Cx20468", patch_conexant, NULL }, // SmartAMC fixme: the mask might be different
139{ 0x44543031, 0xfffffff0, "DT0398", NULL, NULL }, 139{ 0x44543031, 0xfffffff0, "DT0398", NULL, NULL },
140{ 0x454d4328, 0xffffffff, "28028", NULL, NULL }, // same as TR28028? 140{ 0x454d4328, 0xffffffff, "EM28028", NULL, NULL }, // same as TR28028?
141{ 0x45838308, 0xffffffff, "ESS1988", NULL, NULL }, 141{ 0x45838308, 0xffffffff, "ESS1988", NULL, NULL },
142{ 0x48525300, 0xffffff00, "HMP9701", NULL, NULL }, 142{ 0x48525300, 0xffffff00, "HMP9701", NULL, NULL },
143{ 0x49434501, 0xffffffff, "ICE1230", NULL, NULL }, 143{ 0x49434501, 0xffffffff, "ICE1230", NULL, NULL },
@@ -1816,7 +1816,9 @@ static int snd_ac97_dev_register(struct snd_device *device)
1816 ac97->dev.bus = &ac97_bus_type; 1816 ac97->dev.bus = &ac97_bus_type;
1817 ac97->dev.parent = ac97->bus->card->dev; 1817 ac97->dev.parent = ac97->bus->card->dev;
1818 ac97->dev.release = ac97_device_release; 1818 ac97->dev.release = ac97_device_release;
1819 snprintf(ac97->dev.bus_id, BUS_ID_SIZE, "card%d-%d", ac97->bus->card->number, ac97->num); 1819 snprintf(ac97->dev.bus_id, BUS_ID_SIZE, "%d-%d:%s",
1820 ac97->bus->card->number, ac97->num,
1821 snd_ac97_get_short_name(ac97));
1820 if ((err = device_register(&ac97->dev)) < 0) { 1822 if ((err = device_register(&ac97->dev)) < 0) {
1821 snd_printk(KERN_ERR "Can't register ac97 bus\n"); 1823 snd_printk(KERN_ERR "Can't register ac97 bus\n");
1822 ac97->dev.bus = NULL; 1824 ac97->dev.bus = NULL;