From: Felipe Balbi <felipe.balbi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
To: ext Keshava Munegowda <keshava_mgowda-l0cyMroinI0@public.gmane.org>
Cc: "linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Anand Gadiyar <gadiyar-l0cyMroinI0@public.gmane.org>
Subject: Re: [PATCH 5/6] usb: ohci: don't hard-code TLL channel count
Date: Thu, 19 Aug 2010 09:03:08 +0300 [thread overview]
Message-ID: <20100819060308.GT4385@nokia.com> (raw)
In-Reply-To: <1282100145-27485-6-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
Hi,
On Wed, Aug 18, 2010 at 04:55:45AM +0200, ext Keshava Munegowda wrote:
>@@ -245,7 +245,8 @@ static unsigned ohci_omap3_fslsmode(enum
> }
> }
>
>-static void ohci_omap3_tll_config(struct ohci_hcd_omap3 *omap)
>+static void ohci_omap3_tll_config(struct ohci_hcd_omap3 *omap,
>+ u8 tll_channel_count)
> {
> u32 reg;
> int i;
>@@ -263,7 +264,7 @@ static void ohci_omap3_tll_config(struct
> * REVISIT: Only the 3-pin and 4-pin PHY modes have
> * actually been tested.
> */
>- for (i = 0; i < OMAP_TLL_CHANNEL_COUNT; i++) {
>+ for (i = 0; i < tll_channel_count; i++) {
>
> /* Enable only those channels that are actually used */
> if (omap->port_mode[i] == OMAP_OHCI_PORT_MODE_UNUSED)
>@@ -422,7 +423,7 @@ static int omap3_start_ohci(struct ohci_
> ohci_omap_writel(omap->uhh_base, OMAP_UHH_HOSTCONFIG, reg);
> dev_dbg(omap->dev, "UHH setup done, uhh_hostconfig=%x\n", reg);
>
>- ohci_omap3_tll_config(omap);
>+ ohci_omap3_tll_config(omap, OMAP_TLL_CHANNEL_COUNT);
it's still hardcoded, are you planning to change this in any way ?
Otherwise I don't see the point for this patch.
--
balbi
DefectiveByDesign.org
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-08-19 6:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 2:55 [PATCH 0/5] usb: omap: prepare for OMAP4 EHCI and OHCI support Keshava Munegowda
[not found] ` <1282100145-27485-1-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2010-08-18 2:55 ` [PATCH 1/5] usb: ehci: omap: Update clock names to be same across OMAP3 and OMAP4 Keshava Munegowda
2010-08-18 2:55 ` [PATCH 2/5] usb: ehci: don't hard-code TLL channel count Keshava Munegowda
[not found] ` <1282100145-27485-3-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2010-08-18 2:55 ` [PATCH 3/5] usb: ehci: relocate PHY reset code Keshava Munegowda
[not found] ` <1282100145-27485-4-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2010-08-18 2:55 ` [PATCH 4/5] usb: ohci: omap: Update clock names to be same across OMAP3 and OMAP4 Keshava Munegowda
[not found] ` <1282100145-27485-5-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2010-08-18 2:55 ` [PATCH 5/6] usb: ohci: don't hard-code TLL channel count Keshava Munegowda
[not found] ` <1282100145-27485-6-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2010-08-18 15:37 ` Munegowda, Keshava
2010-08-19 6:03 ` Felipe Balbi [this message]
[not found] ` <20100819060308.GT4385-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2010-08-19 6:26 ` Munegowda, Keshava
2010-08-19 7:23 ` Felipe Balbi
2010-08-19 7:26 ` Munegowda, Keshava
2010-08-19 6:01 ` [PATCH 3/5] usb: ehci: relocate PHY reset code Felipe Balbi
[not found] ` <20100819060126.GS4385-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2010-08-20 9:41 ` Gadiyar, Anand
2010-09-08 7:51 ` [PATCH 0/5] usb: omap: prepare for OMAP4 EHCI and OHCI support Munegowda, Keshava
2010-09-08 8:55 ` Greg KH
2010-09-08 9:49 ` Munegowda, Keshava
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=20100819060308.GT4385@nokia.com \
--to=felipe.balbi-xnzwkgviw5gavxtiumwx3w@public.gmane.org \
--cc=gadiyar-l0cyMroinI0@public.gmane.org \
--cc=keshava_mgowda-l0cyMroinI0@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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