From: Stephen Warren <swarren@nvidia.com>
To: Peter De Schrijver <pdeschrijver@nvidia.com>
Cc: Russell King <linux@arm.linux.org.uk>,
Erik Gilling <konkers@android.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>,
Colin Cross <ccross@android.com>, Olof Johansson <olof@lixom.net>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: RE: [PATCH v7 3/3] arm/tegra: device tree support for ventana board
Date: Mon, 10 Oct 2011 09:38:47 -0700 [thread overview]
Message-ID: <74CDBE0F657A3D45AFBB94109FB122FF173B23B514@HQMAIL01.nvidia.com> (raw)
In-Reply-To: <20111010080109.GQ9003@tbergstrom-lnx.Nvidia.com>
Peter De Schrijver wrote at Monday, October 10, 2011 2:01 AM:
> On Fri, Oct 07, 2011 at 08:04:34PM +0200, Stephen Warren wrote:
> > Peter De Schrijver wrote at Monday, October 03, 2011 7:19 AM:
> > ...
> > > diff --git a/arch/arm/mach-tegra/board-dt.c b/arch/arm/mach-tegra/board-dt.c
> > ...
> > > - if (of_machine_is_compatible("nvidia,harmony"))
> > > - harmony_pinmux_init();
> > > - else if (of_machine_is_compatible("nvidia,seaboard"))
> > > - seaboard_pinmux_init();
> > > + for (i = 0; i < ARRAY_SIZE(pinmux_configs); i++) {
> > > + if (of_machine_is_compatible(pinmux_configs[i].machine)) {
> > > + pinmux_configs[i].init();
> > > + break;
> > > + }
> > > + }
> > > +
> > > + if (i == ARRAY_SIZE(pinmux_configs))
> > > + printk(KERN_WARNING "Unknown platform! Pinmuxing not initialized\n");
> >
> > Should that be WARN() instead of printk?
>
> pr_warning() might be better. Or do we want a backtrace and a tainted kernel
> in this case?
Well, tainting seems like a good idea. I'm less thrilled about the backtrace,
but perhaps it is a good idea to bring attention to this condition.
--
nvpublic
next prev parent reply other threads:[~2011-10-10 16:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-03 13:18 [PATCH v7 0/3] Add support for tegra2 based " Peter De Schrijver
2011-10-03 13:18 ` [PATCH v7 1/3] arm/tegra: prepare Seaboard pinmux code for derived boards Peter De Schrijver
2011-10-03 13:18 ` [PATCH v7 2/3] arm/tegra: add support for ventana pinmuxing Peter De Schrijver
2011-10-03 13:18 ` [PATCH v7 3/3] arm/tegra: device tree support for ventana board Peter De Schrijver
2011-10-07 18:04 ` Stephen Warren
2011-10-10 8:01 ` Peter De Schrijver
2011-10-10 16:38 ` Stephen Warren [this message]
2011-10-07 18:00 ` [PATCH v7 0/3] Add support for tegra2 based " Stephen Warren
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=74CDBE0F657A3D45AFBB94109FB122FF173B23B514@HQMAIL01.nvidia.com \
--to=swarren@nvidia.com \
--cc=ccross@android.com \
--cc=konkers@android.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=olof@lixom.net \
--cc=pdeschrijver@nvidia.com \
/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
all inboxes | Powered by JetHome®