public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] OMAP: MUSB: MUSB fix to work as Module for 24xx/Davinci
Date: Thu, 29 Nov 2007 10:22:23 -0800	[thread overview]
Message-ID: <200711291022.23735.david-b@pacbell.net> (raw)
In-Reply-To: <5DF83221BE20114E9C331F665ACBC08003E7FAE3@dbde01.ent.ti.com>

On Tuesday 20 November 2007, Pandita, Vikram wrote:
> From: Vikram Pandita <vikram.pandita@ti.com>
> 
> Fix to get MUSB working as Module for 2430 and Davinci platform

I don't understand the point of this patch.  It certainly used to
work as a module on DaVinci ... as recently as a few months ago.

And this particular register is at a fixed location, not subject
to the usual register banking stuff.  Kicking in that banking
logic would be incorrect.


> Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
> ---
> 
> Index: linux-omap/drivers/usb/musb/musb_core.c
> ===================================================================
> --- linux-omap.orig/drivers/usb/musb/musb_core.c	2007-11-20 14:24:03.000000000 +0530
> +++ linux-omap/drivers/usb/musb/musb_core.c	2007-11-20 14:26:22.000000000 +0530
> @@ -1336,7 +1336,7 @@
>  
>  	/* log core options (read using indexed model) */
>  	musb_ep_select(mbase, 0);
> -	reg = musb_readb(mbase, 0x10 + MUSB_CONFIGDATA);
> +	reg = musb_readb(mbase, MUSB_EP_OFFSET(0, MUSB_CONFIGDATA));
>  
>  	strcpy(aInfo, (reg & MUSB_CONFIGDATA_UTMIDW) ? "UTMI-16" : "UTMI-8");
>  	if (reg & MUSB_CONFIGDATA_DYNFIFO) {

  reply	other threads:[~2007-11-29 18:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-19  1:41 [RFC] Misc cleanups Felipe Balbi
2007-11-19  1:41 ` [RFC patch] I2C: TWL4030: Remove unneded pr_err define Felipe Balbi
2007-11-19  1:42   ` [RFC patch] ARM: OMAP: Fix typo in drivers/usb/musb/Kconfig Felipe Balbi
2007-11-19  1:42     ` [RFC patch] ARM: OMAP: Define OMAP34XX_HS_BASE Felipe Balbi
2007-11-19 12:53     ` [RFC patch] ARM: OMAP: Fix typo in drivers/usb/musb/Kconfig Gadiyar, Anand
2007-11-19 12:59       ` Felipe Balbi
2007-11-19 13:48         ` Gadiyar, Anand
2007-11-19 14:30           ` Felipe Balbi
2007-11-19 13:03     ` [PATCH] OMAP: MUSB: MUSB gadget fix Pandita, Vikram
2007-11-20  9:34       ` [PATCH] OMAP: MUSB: MUSB fix to work as Module for 24xx/Davinci Pandita, Vikram
2007-11-29 18:22         ` David Brownell [this message]
2007-11-30  5:21           ` Pandita, Vikram
2007-11-30  5:31             ` David Brownell
2007-11-30  5:42               ` Pandita, Vikram
2007-11-30 10:52                 ` David Brownell
2007-11-30 11:13                   ` Pandita, Vikram
2007-11-21 12:23       ` [PATCH-REWORKED] OMAP: MUSB: MUSB gadget fix Pandita, Vikram
2007-11-29 18:38         ` David Brownell

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=200711291022.23735.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=linux-omap-open-source@linux.omap.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