public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Felipe Balbi <me@felipebalbi.com>
Cc: Andrzej Zaborowski <balrogg@gmail.com>, linux-omap@vger.kernel.org
Subject: Re: [PATCH] Fix TUSB6010 ID register offsets.
Date: Wed, 2 Apr 2008 13:46:06 +0300	[thread overview]
Message-ID: <20080402104606.GM31913@atomide.com> (raw)
In-Reply-To: <54be4db45e859f4b06bb75a9034df573@felipebalbi.com>

* Felipe Balbi <me@felipebalbi.com> [080402 13:15]:
> 
> 
> On Sat, 29 Mar 2008 18:52:16 +0100, Andrzej Zaborowski <balrogg@gmail.com>
> wrote:
> > From: Andrzej Zaborowski <balrog@zabor.org>
> > 
> > [Sorry, the previous patch was a copy/paste mistake, this one should be
> > better]
> > 
> > I have no access to the docs for this chip but I'm pretty sure the
> current
> > address of the two DIDR1 registers is wrong because it's outside the
> > TUSB-specific register space.  The modified address in turn has a good
> > chance to be correct.
> > 
> > Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
> Acked-by: Felipe Balbi <felipe.balbi@nokia.com>

Pushed.

Tony

> > ---
> >  drivers/usb/musb/tusb6010.h |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/usb/musb/tusb6010.h b/drivers/usb/musb/tusb6010.h
> > index bb25c3b..f2036ef 100644
> > --- a/drivers/usb/musb/tusb6010.h
> > +++ b/drivers/usb/musb/tusb6010.h
> > @@ -225,8 +225,8 @@ extern void tusb_allow_idle(struct musb *musb, u32
> > wakeup_enables);
> >  #define TUSB_PROD_TEST_RESET_VAL		0xa596
> >  #define TUSB_EP_FIFO(ep)			(TUSB_FIFO_BASE + (ep) * 0x20)
> > 
> > -#define TUSB_DIDR1_LO				0x1f8
> > -#define TUSB_DIDR1_HI				0x1fc
> > +#define TUSB_DIDR1_LO				(TUSB_SYS_REG_BASE + 0x1f8)
> > +#define TUSB_DIDR1_HI				(TUSB_SYS_REG_BASE + 0x1fc)
> >  #define		TUSB_DIDR1_HI_CHIP_REV(v)		(((v) >> 17) & 0xf)
> >  #define			TUSB_DIDR1_HI_REV_20		0
> >  #define			TUSB_DIDR1_HI_REV_30		1
> > --
> > 1.5.3.4
> > 
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> -- 
> Best Regards,
> 
> Felipe Balbi
> http://felipebalbi.com
> me@felipebalbi.com
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-04-02 10:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 17:52 [PATCH] Fix TUSB6010 ID register offsets Andrzej Zaborowski
2008-03-31  7:58 ` Tony Lindgren
2008-03-31  8:58   ` Felipe Balbi
2008-03-31 12:52     ` andrzej zaborowski
2008-04-02 10:15 ` Felipe Balbi
2008-04-02 10:46   ` Tony Lindgren [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-03-29 17:01 Andrzej Zaborowski

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=20080402104606.GM31913@atomide.com \
    --to=tony@atomide.com \
    --cc=balrogg@gmail.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=me@felipebalbi.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