summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Demeter <michael.demeter@intel.com>2011-12-15 23:31:23 +0100
committerIngo Molnar <mingo@elte.hu>2011-12-18 09:37:07 +0100
commitd79a8869d8a4b565b12a88faeff834b09a36368c (patch)
tree2f19cc924526818f5ca5a158a7261030ac4ef80d /arch
parentx86/intel config: Revamp configuration to allow for Moorestown and Medfield (diff)
downloadlinux-d79a8869d8a4b565b12a88faeff834b09a36368c.tar.xz
linux-d79a8869d8a4b565b12a88faeff834b09a36368c.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/platform/mrst/mrst.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c
index 6a21f603bd78..b6a33d2bd4d6 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;