lkml.org 
[lkml]   [2011]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mfd: Correct revision display for WM1811 revision D
Date
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.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---

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(-)

diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c
index 5633fe4..f49b1ac 100644
--- a/drivers/mfd/wm8994-core.c
+++ b/drivers/mfd/wm8994-core.c
@@ -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;
}
--
1.7.7.3


\
 
 \ /
  Last update: 2011-11-30 17:55    [W:0.204 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site