Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345049
b: refs/heads/master
c: 3748f19
h: refs/heads/master
i:
  345047: f31830c
v: v3
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Dec 2, 2012
1 parent 09ef36c commit 22904e0
Show file tree
Hide file tree
Showing 2 changed files with 16 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: 62d62b59bd100b8f146ea941dad273656371a386
refs/heads/master: 3748f193552ba21a8239c56eb616d946c47607e7
16 changes: 15 additions & 1 deletion trunk/drivers/mfd/wm5102-tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,18 @@ static const struct reg_default wm5102_reva_patch[] = {
{ 0x80, 0x0000 },
};

static const struct reg_default wm5102_revb_patch[] = {
{ 0x80, 0x0003 },
{ 0x081, 0xE022 },
{ 0x410, 0x6080 },
{ 0x418, 0x6080 },
{ 0x420, 0x6080 },
{ 0x428, 0xC000 },
{ 0x441, 0x8014 },
{ 0x458, 0x000b },
{ 0x80, 0x0000 },
};

/* We use a function so we can use ARRAY_SIZE() */
int wm5102_patch(struct arizona *arizona)
{
Expand All @@ -582,7 +594,9 @@ int wm5102_patch(struct arizona *arizona)
wm5102_reva_patch,
ARRAY_SIZE(wm5102_reva_patch));
default:
return 0;
return regmap_register_patch(arizona->regmap,
wm5102_revb_patch,
ARRAY_SIZE(wm5102_revb_patch));
}
}

Expand Down

0 comments on commit 22904e0

Please sign in to comment.