Skip to contentSkip to conversation

mfd: Correct revision display for WM1811 revision D

PATCH In review Mark Brown 2 participants 3 messages Nov 30, 2011 – Dec 12, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: Correct revision display for WM1811 revision D

As WM1811 revision C was transparent to software the revision IDs for subsequent revisions are one less than they would normally be. Correct for this in log messages.

---

I can fold this and other updates into the big regmap changes I posted the other day if that's helpful?

 drivers/mfd/wm8994-core.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/mfd/wm8994-core.c +5 -0
index 5633fe4..f49b1ac 100644
@@ -460,6 +460,11 @@ static int wm8994_device_init(struct wm8994 *wm8994, int irq)
 			break;
 		}
 		break;
+	case WM1811:
+		/* Revision C did not change the relevant layer */
+		if (ret > 1)
+			ret++;
+		break;
 	default:
 		break;
 	}
Signature · 1 line
1.7.7.3
#1 lore raw

Hi Mark,

Quoted 9 lines · Mark Brown

As WM1811 revision C was transparent to software the revision IDs for subsequent revisions are one less than they would normally be. Correct for this in log messages.

---

I can fold this and other updates into the big regmap changes I posted the other day if that's helpful?

It seems you have quite many wm8994 patches on your mfd/wm8994 branch. It would probably make sense for you to carry them through the regmap changes. If that's fine with you, feel free to add my Acked-by to them.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/
author
#2 lore raw
Quoted 6 lines · Samuel Ortiz
Quoted 2 lines

I can fold this and other updates into the big regmap changes I posted the other day if that's helpful?

It seems you have quite many wm8994 patches on your mfd/wm8994 branch. It would probably make sense for you to carry them through the regmap changes. If that's fine with you, feel free to add my Acked-by to them.

Yup, quite a few - I'll merge them all with the regmap stuff, thanks!