Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270627
b: refs/heads/master
c: 0744100
h: refs/heads/master
i:
  270625: f0909b2
  270623: 2f53ec4
v: v3
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Sep 21, 2011
1 parent c18a8ca commit 7b9ffca
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 17841020e9d3dbd4e8114c2142c2bc6d45c01da1
refs/heads/master: 07441006b2a1df0478bb7bdafd9dcd578898f2d4
7 changes: 4 additions & 3 deletions trunk/sound/soc/codecs/tpa6130a2.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ static int __devinit tpa6130a2_probe(struct i2c_client *client,

pdata = client->dev.platform_data;
data->power_gpio = pdata->power_gpio;
data->id = pdata->id;
data->id = id->driver_data;

mutex_init(&data->mutex);

Expand All @@ -405,7 +405,7 @@ static int __devinit tpa6130a2_probe(struct i2c_client *client,
switch (data->id) {
default:
dev_warn(dev, "Unknown TPA model (%d). Assuming 6130A2\n",
pdata->id);
data->id);
case TPA6130A2:
regulator = "Vdd";
break;
Expand Down Expand Up @@ -469,7 +469,8 @@ static int __devexit tpa6130a2_remove(struct i2c_client *client)
}

static const struct i2c_device_id tpa6130a2_id[] = {
{ "tpa6130a2", 0 },
{ "tpa6130a2", TPA6130A2 },
{ "tpa6140a2", TPA6140A2 },
{ }
};
MODULE_DEVICE_TABLE(i2c, tpa6130a2_id);
Expand Down

0 comments on commit 7b9ffca

Please sign in to comment.