[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGsJ_4wJogkvhoJ0JNJGbv9FvaA7zHxFKRwvkXdY0g5SbLXuJA@mail.gmail.com>
Date: Sat, 8 Oct 2011 17:37:36 +0800
From: Barry Song <21cnbao@...il.com>
To: Linus Walleij <linus.walleij@...ricsson.com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Grant Likely <grant.likely@...retlab.ca>,
Stephen Warren <swarren@...dia.com>,
Lee Jones <lee.jones@...aro.org>,
Joe Perches <joe@...ches.com>,
Russell King <linux@....linux.org.uk>,
Linaro Dev <linaro-dev@...ts.linaro.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
David Brown <davidb@...eaurora.org>,
Linus Walleij <linus.walleij@...aro.org>
Subject: Re: [PATCH 2/2] pinmux: add a driver for the U300 pinmux
> +static void __init u300_pmx_dumpregs(struct u300_pmx *upmx)
> +{
> + u16 regval;
> + int i;
> +
> + for (i = 0; i < ARRAY_SIZE(u300_pmx_registers); i++) {
> + regval = readw(upmx->virtbase + u300_pmx_registers[i]);
> + dev_info(upmx->dev, "PMX%u: 0x%04x\n", i, regval);
> + }
> +}
> +
is this a debug information or do you want it to be in mainline?
-barry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists