* [PATCH] mfd: Show correct device id for wm8400
@ 2012-02-16 5:58 Axel Lin
2012-02-16 6:19 ` Mark Brown
2012-02-23 15:48 ` Samuel Ortiz
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2012-02-16 5:58 UTC (permalink / raw)
To: linux-kernel; +Cc: Mark Brown, Samuel Ortiz
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/mfd/wm8400-core.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/wm8400-core.c b/drivers/mfd/wm8400-core.c
index 2204893..e60d524 100644
--- a/drivers/mfd/wm8400-core.c
+++ b/drivers/mfd/wm8400-core.c
@@ -271,8 +271,7 @@ static int wm8400_init(struct wm8400 *wm8400,
return -EIO;
}
if (i != reg_data[WM8400_RESET_ID].default_val) {
- dev_err(wm8400->dev, "Device is not a WM8400, ID is %x\n",
- reg);
+ dev_err(wm8400->dev, "Device is not a WM8400, ID is %x\n", i);
return -ENODEV;
}
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mfd: Show correct device id for wm8400
2012-02-16 5:58 [PATCH] mfd: Show correct device id for wm8400 Axel Lin
@ 2012-02-16 6:19 ` Mark Brown
2012-02-23 15:48 ` Samuel Ortiz
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2012-02-16 6:19 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Samuel Ortiz
[-- Attachment #1: Type: text/plain, Size: 165 bytes --]
On Thu, Feb 16, 2012 at 01:58:19PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mfd: Show correct device id for wm8400
2012-02-16 5:58 [PATCH] mfd: Show correct device id for wm8400 Axel Lin
2012-02-16 6:19 ` Mark Brown
@ 2012-02-23 15:48 ` Samuel Ortiz
1 sibling, 0 replies; 3+ messages in thread
From: Samuel Ortiz @ 2012-02-23 15:48 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Mark Brown
Hi Axel,
On Thu, Feb 16, 2012 at 01:58:19PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Thanks, applied.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-23 15:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-16 5:58 [PATCH] mfd: Show correct device id for wm8400 Axel Lin
2012-02-16 6:19 ` Mark Brown
2012-02-23 15:48 ` Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).