Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260685
b: refs/heads/master
c: 6c44863
h: refs/heads/master
i:
  260683: af13832
v: v3
  • Loading branch information
Peter Ujfalusi committed Jul 4, 2011
1 parent ef6d35a commit 5e42395
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: fb34d3d5056a1f8439bbfa13d4519345814d4255
refs/heads/master: 6c44863763254eaf96ec7d4f816fb88605301e76
5 changes: 2 additions & 3 deletions trunk/drivers/mfd/twl6040-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,8 @@ static int __devinit twl6040_probe(struct platform_device *pdev)
if (pdata->codec) {
cell = &twl6040->cells[children];
cell->name = "twl6040-codec";
/* The codec expects the twl4030_audio_data as platform data */
cell->platform_data = pdata;
cell->pdata_size = sizeof(*pdata);
cell->platform_data = pdata->codec;
cell->pdata_size = sizeof(*pdata->codec);
children++;
}

Expand Down

0 comments on commit 5e42395

Please sign in to comment.