mfd: Correct revision display for WM1811 revision D
Subsystems (2)
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
@@ -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
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.
Signed-off-by Mark Brown <[email protected]>---
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/
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!