Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319743
b: refs/heads/master
c: 863df8d
h: refs/heads/master
i:
  319741: 1a5228b
  319739: 41aa420
  319735: 5be3235
  319727: 202225d
  319711: a5aba16
  319679: 4898822
  319615: e8b10a1
  319487: d09cb98
v: v3
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Jul 8, 2012
1 parent 8ca4d89 commit e5137e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 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: cfe775ce62d83168125299714739aebc1018211e
refs/heads/master: 863df8d5f1a1a92016e24c80947cb3509b8aaa48
3 changes: 2 additions & 1 deletion trunk/drivers/mfd/arizona-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ int __devinit arizona_dev_init(struct arizona *arizona)
arizona->rev &= ARIZONA_DEVICE_REVISION_MASK;

switch (reg) {
#ifdef CONFIG_MFD_WM5102
case 0x5102:
type_name = "WM5102";
if (arizona->type != WM5102) {
Expand All @@ -377,7 +378,7 @@ int __devinit arizona_dev_init(struct arizona *arizona)
}
ret = wm5102_patch(arizona);
break;

#endif
default:
dev_err(arizona->dev, "Unknown device ID %x\n", reg);
goto err_reset;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/mfd/arizona-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ static __devinit int arizona_i2c_probe(struct i2c_client *i2c,
int ret;

switch (id->driver_data) {
#ifdef CONFIG_MFD_WM5102
case WM5102:
regmap_config = &wm5102_i2c_regmap;
break;
#endif
default:
dev_err(&i2c->dev, "Unknown device type %ld\n",
id->driver_data);
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/mfd/arizona-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,12 @@ int arizona_irq_init(struct arizona *arizona)
const struct regmap_irq_chip *aod, *irq;

switch (arizona->type) {
#ifdef CONFIG_MFD_WM5102
case WM5102:
aod = &wm5102_aod;
irq = &wm5102_irq;
break;
#endif
default:
BUG_ON("Unknown Arizona class device" == NULL);
return -EINVAL;
Expand Down

0 comments on commit e5137e7

Please sign in to comment.