Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157709
b: refs/heads/master
c: e2365bf
h: refs/heads/master
i:
  157707: 1ac2ac2
v: v3
  • Loading branch information
Marek Vasut authored and Mark Brown committed Aug 23, 2009
1 parent 92e8038 commit 385e6ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 821ebc86efd4b42aa120076562b0fd4f03ec3c0c
refs/heads/master: e2365bf313fb21b49b1e4c911033389564428d03
4 changes: 2 additions & 2 deletions trunk/sound/arm/pxa2xx-ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ static int __devinit pxa2xx_ac97_probe(struct platform_device *dev)
snprintf(card->longname, sizeof(card->longname),
"%s (%s)", dev->dev.driver->name, card->mixername);

if (pdata && pdata->codec_data)
snd_ac97_dev_add_pdata(ac97_bus->codec[0], pdata->codec_pdata);
if (pdata && pdata->codec_data[0])
snd_ac97_dev_add_pdata(ac97_bus->codec[0], pdata->codec_pdata[0]);
snd_card_set_dev(card, &dev->dev);
ret = snd_card_register(card);
if (ret == 0) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/sound/soc/pxa/pxa2xx-ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ static int __devinit pxa2xx_ac97_dev_probe(struct platform_device *pdev)

for (i = 0; i < ARRAY_SIZE(pxa_ac97_dai); i++) {
pxa_ac97_dai[i].dev = &pdev->dev;
if (pdata && pdata->codec_pdata)
pxa_ac97_dai[i].ac97_pdata = pdata->codec_pdata;
if (pdata && pdata->codec_pdata[0])
pxa_ac97_dai[i].ac97_pdata = pdata->codec_pdata[0];
}

/* Punt most of the init to the SoC probe; we may need the machine
Expand Down

0 comments on commit 385e6ad

Please sign in to comment.