public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <felipe.balbi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
To: "Balbi Felipe (Nokia-D/Helsinki)"
	<felipe.balbi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
Cc: ext Ajay Kumar Gupta <ajay.gupta-l0cyMroinI0@public.gmane.org>,
	"linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 1/4] musb: get rid of unneeded musb->config->dyn_fifo
Date: Tue, 15 Dec 2009 15:48:57 +0200	[thread overview]
Message-ID: <20091215134857.GO3689@nokia.com> (raw)
In-Reply-To: <20091215133432.GN3689-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>

On Tue, Dec 15, 2009 at 02:34:32PM +0100, Balbi Felipe (Nokia-D/Helsinki) wrote:
>Hi,
>
>On Tue, Dec 15, 2009 at 02:31:46PM +0100, ext Ajay Kumar Gupta wrote:
>>diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h
>>index d437556..c5f006e 100644
>>--- a/include/linux/usb/musb.h
>>+++ b/include/linux/usb/musb.h
>>@@ -30,7 +30,6 @@ struct musb_hdrc_eps_bits {
>> struct musb_hdrc_config {
>> 	/* MUSB configuration-specific details */
>> 	unsigned	multipoint:1;	/* multipoint device */
>>-	unsigned	dyn_fifo:1;	/* supports dynamic fifo sizing */
>> 	unsigned	soft_con:1;	/* soft connect required */
>> 	unsigned	utm_16:1;	/* utm data witdh is 16 bits */
>> 	unsigned	big_endian:1;	/* true if CPU uses big-endian */
>
>same problem as the other patch I sent:
>
>$ git grep -w dyn_fifo arch/
>arch/arm/mach-davinci/usb.c:    .dyn_fifo       = true,
>arch/arm/mach-omap2/usb-musb.c: .dyn_fifo       = 1,
>arch/blackfin/mach-bf527/boards/cm_bf527.c:     .dyn_fifo       = 0,
>arch/blackfin/mach-bf527/boards/ezbrd.c:        .dyn_fifo       = 0,
>arch/blackfin/mach-bf527/boards/ezkit.c:        .dyn_fifo       = 0,
>arch/blackfin/mach-bf548/boards/cm_bf548.c:     .dyn_fifo       = 0,
>arch/blackfin/mach-bf548/boards/ezkit.c:        .dyn_fifo       = 0,
>
>we have to agree who will carry the arch changes.

what we can do is mark that field as deprecated and give one major 
release for people to remove that from their boards, then we send a 
patch finally removing it.

I'm talking about:

diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h
index d437556..c3ca147 100644
--- a/include/linux/usb/musb.h
+++ b/include/linux/usb/musb.h
@@ -30,7 +30,7 @@ struct musb_hdrc_eps_bits {
  struct musb_hdrc_config {
         /* MUSB configuration-specific details */
         unsigned        multipoint:1;   /* multipoint device */
-       unsigned        dyn_fifo:1;     /* supports dynamic fifo sizing */
+       unsigned        dyn_fifo:1 __deprecated;        /* supports dynamic fifo sizing */
         unsigned        soft_con:1;     /* soft connect required */
         unsigned        utm_16:1;       /* utm data witdh is 16 bits */
         unsigned        big_endian:1;   /* true if CPU uses big-endian */

how do you feel about that ?

-- 
balbi
--
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

  parent reply	other threads:[~2009-12-15 13:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-15 13:31 [PATCH 1/4] musb: get rid of unneeded musb->config->dyn_fifo Ajay Kumar Gupta
2009-12-15 13:34 ` Felipe Balbi
     [not found]   ` <20091215133432.GN3689-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2009-12-15 13:48     ` Felipe Balbi [this message]
     [not found]       ` <20091215134857.GO3689-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2009-12-15 15:15         ` Gupta, Ajay Kumar
2009-12-17 13:01           ` Gupta, Ajay Kumar
     [not found]             ` <19F8576C6E063C45BE387C64729E73940449F4399B-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2009-12-17 13:10               ` Felipe Balbi
2009-12-17 13:12                 ` Gupta, Ajay Kumar
     [not found]                   ` <19F8576C6E063C45BE387C64729E73940449F439A1-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2009-12-17 13:29                     ` Felipe Balbi
     [not found] ` <1260883909-26836-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2009-12-15 13:31   ` [PATCH 2/4] musb: save dynfifo in musb struct Ajay Kumar Gupta
2009-12-15 13:31     ` [PATCH 3/4 v4] musb: Add context save and restore support Ajay Kumar Gupta
2009-12-17 17:00       ` Felipe Balbi
     [not found]       ` <1260883909-26836-3-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2009-12-15 13:31         ` [PATCH 4/4] musb: Add 'extvbus' in musb_hdrc_platform_data Ajay Kumar Gupta
2009-12-17 16:59           ` Felipe Balbi
2009-12-18 11:35         ` [PATCH 3/4 v4] musb: Add context save and restore support Felipe Balbi
2009-12-17 16:59     ` [PATCH 2/4] musb: save dynfifo in musb struct Felipe Balbi
2009-12-15 17:39   ` [PATCH 1/4] musb: get rid of unneeded musb->config->dyn_fifo Tony Lindgren
     [not found]     ` <20091215173950.GI4575-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2009-12-16  5:06       ` Gupta, Ajay Kumar

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=20091215134857.GO3689@nokia.com \
    --to=felipe.balbi-xnzwkgviw5gavxtiumwx3w@public.gmane.org \
    --cc=ajay.gupta-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