From: Felipe Balbi <felipe.balbi@nokia.com>
To: "ext Premi, Sanjeev" <premi@ti.com>
Cc: "Balbi Felipe (Nokia-D/Helsinki)" <felipe.balbi@nokia.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"tony@atomide.com" <tony@atomide.com>
Subject: Re: [PATCH 1/2] AM35xx: Runtime detection of the device
Date: Wed, 28 Oct 2009 22:17:27 +0200 [thread overview]
Message-ID: <20091028201727.GA3773@nokia.com> (raw)
In-Reply-To: <B85A65D85D7EB246BE421B3FB0FBB59301DE16EA15@dbde02.ent.ti.com>
Hi,
On Wed, Oct 28, 2009 at 07:42:07PM +0100, ext Premi, Sanjeev wrote:
> > On Wed, Oct 28, 2009 at 01:40:04PM +0100, ext Premi, Sanjeev wrote:
> > > > case 0xb891:
> > > > - /* Handle 36xx devices */
> > > > - switch (rev) {
> > > > - case 0:
> > > > - omap_revision = OMAP3630_REV_ES1_0;
> > > > - break;
> > > > - default:
> > > > - /* Use the latest known revision as default */
> > > > - omap_revision = OMAP3630_REV_ES1_0;
> > > > - }
> > > > - break;
> > > > + /* FALLTHROUGH */
> > > > default:
> > > > /* Unknown default to latest silicon rev as default*/
> > > > omap_revision = OMAP3630_REV_ES1_0;
> > >
> > > [sp] Haven't applied the patch. But, if FALLTHROUGH will
> > make the device
> > > detected as OMAP3630, then it may not be right. The
> > fall through
> > > should be on most common device. OMAP3430 ES21./3.1
> > should be ideal.
> > >
> > > Thoughts?
> >
> > see that I didn't change the default clause. It was already
> > OMAP3630_REV_ES1_0. If it has to be anything else, the
> > default should be
> > changed and the case 0xb891: should do:
>
> I did see that. But since you were already proposing a change
> thought it would be good idea.
if Tony says it's ok, I can change the patch, for sure :-)
but I believe he will want that as a separate patch for bisectability.
--
balbi
next prev parent reply other threads:[~2009-10-29 0:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-27 14:02 [PATCH 1/2] AM35xx: Runtime detection of the device Sanjeev Premi
2009-10-27 16:11 ` Felipe Balbi
2009-10-27 18:08 ` Premi, Sanjeev
2009-10-27 21:08 ` Felipe Balbi
2009-10-28 12:40 ` Premi, Sanjeev
2009-10-28 13:42 ` Premi, Sanjeev
2009-10-28 16:59 ` Felipe Balbi
2009-10-28 18:42 ` Premi, Sanjeev
2009-10-28 20:17 ` Felipe Balbi [this message]
2009-11-10 10:20 ` Felipe Balbi
2009-11-11 2:49 ` Tony Lindgren
2009-11-12 9:21 ` [PATCH] arm: omap: code cleanup to id.c Felipe Balbi
2009-10-27 18:03 ` [PATCH 1/2] AM35xx: Runtime detection of the device Premi, Sanjeev
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=20091028201727.GA3773@nokia.com \
--to=felipe.balbi@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=premi@ti.com \
--cc=tony@atomide.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