From: tip-bot for Michael Demeter <michael.demeter@intel.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, alan@linux.intel.com,
michael.demeter@intel.com, hpa@zytor.com, mingo@redhat.com,
kirill.shutemov@linux.intel.com, tglx@linutronix.de,
mingo@elte.hu
Subject: [tip:x86/platform] x86/mrst: Add additional debug prints for pb_keys
Date: Sun, 18 Dec 2011 15:53:51 -0800 [thread overview]
Message-ID: <tip-d79a8869d8a4b565b12a88faeff834b09a36368c@git.kernel.org> (raw)
In-Reply-To: <20111215223116.10166.50803.stgit@bob.linux.org.uk>
Commit-ID: d79a8869d8a4b565b12a88faeff834b09a36368c
Gitweb: http://git.kernel.org/tip/d79a8869d8a4b565b12a88faeff834b09a36368c
Author: Michael Demeter <michael.demeter@intel.com>
AuthorDate: Thu, 15 Dec 2011 22:31:23 +0000
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Sun, 18 Dec 2011 09:37:07 +0100
x86/mrst: Add additional debug prints for pb_keys
Added additional debug output that we always seem to add
during power ons to validate firmware operation.
Signed-off-by: Michael Demeter <michael.demeter@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Link: http://lkml.kernel.org/r/20111215223116.10166.50803.stgit@bob.linux.org.uk
[ fixed line breaks, formatting and commit title. ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/platform/mrst/mrst.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c
index 6a21f60..b6a33d2 100644
--- a/arch/x86/platform/mrst/mrst.c
+++ b/arch/x86/platform/mrst/mrst.c
@@ -983,6 +983,7 @@ static int __init pb_keys_init(void)
num = sizeof(gpio_button) / sizeof(struct gpio_keys_button);
for (i = 0; i < num; i++) {
gb[i].gpio = get_gpio_by_name(gb[i].desc);
+ pr_debug("info[%2d]: name = %s, gpio = %d\n", i, gb[i].desc, gb[i].gpio);
if (gb[i].gpio == -1)
continue;
prev parent reply other threads:[~2011-12-18 23:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-15 22:31 [PATCH] Added some addition debug prints for pb_keys Alan Cox
2011-12-18 8:36 ` Ingo Molnar
2011-12-18 23:53 ` tip-bot for Michael Demeter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-d79a8869d8a4b565b12a88faeff834b09a36368c@git.kernel.org \
--to=michael.demeter@intel.com \
--cc=alan@linux.intel.com \
--cc=hpa@zytor.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).