2012-11-29 17:49:21

by Mark Brown

[permalink] [raw]
Subject: [PATCH] mfd: wm5102: Treat future revisions as revision B

The expectation is that future revisions will behave as revision B.

Signed-off-by: Mark Brown <[email protected]>
---
drivers/mfd/wm5102-tables.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c
index 447b00b..b82a003 100644
--- a/drivers/mfd/wm5102-tables.c
+++ b/drivers/mfd/wm5102-tables.c
@@ -76,12 +76,10 @@ int wm5102_patch(struct arizona *arizona)
return regmap_register_patch(arizona->regmap,
wm5102_reva_patch,
ARRAY_SIZE(wm5102_reva_patch));
- case 1:
+ default:
return regmap_register_patch(arizona->regmap,
wm5102_revb_patch,
ARRAY_SIZE(wm5102_revb_patch));
- default:
- return 0;
}
}

--
1.7.10.4


2012-11-30 10:22:27

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH] mfd: wm5102: Treat future revisions as revision B

Hi Mark,

On Thu, Nov 29, 2012 at 05:49:17PM +0000, Mark Brown wrote:
> The expectation is that future revisions will behave as revision B.
>
> Signed-off-by: Mark Brown <[email protected]>
> ---
> drivers/mfd/wm5102-tables.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
This one does not apply. I'm missing a patch that would register the revision
B patch.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/