SUPERH platform development
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] ARM: mach-shmobile: Mackerel USB platform data update
Date: Tue, 14 Jun 2011 08:36:35 +0000	[thread overview]
Message-ID: <20110614083633.GI17891@linux-sh.org> (raw)
In-Reply-To: <20110609070337.3122.1679.sendpatchset@t400s>

On Tue, Jun 14, 2011 at 04:54:04PM +0900, Magnus Damm wrote:
> On Tue, Jun 14, 2011 at 3:31 PM, Paul Mundt <lethal@linux-sh.org> wrote:
> > On Thu, Jun 09, 2011 at 05:44:21PM +0900, Magnus Damm wrote:
> >> On Thu, Jun 9, 2011 at 4:09 PM, Kuninori Morimoto
> >> <kuninori.morimoto.gx@renesas.com> wrote:
> >> > I think AP4 USB0 pipe9 is interrupt.
> >> > If so, this pipe config is not needed.
> >> > it is same as renesas_usbhs default pipe configs.
> >> > see
> >> > ?renesas_usbhs/common.c :: usbhs_default_pipe_type
> >>
> >> Ok, thanks, can you please send an incremental patch to fix this?
> >>
> > I've grudgingly applied this patch as it is, but I really don't like this
> > half-assed approach to patch submission. The onus is not on Morimoto-san
> > to fix up your submission when he's pointed out something that you
> > obviously failed to take under consideration on an initial patch. You
> > should have simply discarded this and submitted an updated version that
> > fixed this up, and in a timely fashion.
> 
> Thanks for picking up the patch. Under normal circumstances I would
> agree that me sending a new version would be the best way forward, but
> this case is somewhat different. I didn't send a V2 because:
> a) I expected Morimoto-san to help me
> b) I wasn't sure if his comment was correct
> 
> The background of all this is that I asked Morimoto-san for help with
> USB platform data. When then got submitted to the mailing list only
> _one_ of the USB ports were supported, and when I tried to encourage
> people to add support for both ports i received the reply that this
> was "impossible". So I decided to fix it myself. Believe it or not, I
> expect both USB ports on my board to work.
> 
Ok, it would have been nice to know that in advance, then I would have
been much less grumpy. Since there seems to be some uncertainty with
regards to the pipe9 bulk vs interrupt setting I suppose all we can do
now is go with your version until it's demonstrably shown to be
incorrect (which works out well, since that's the version I merged).

> > Since none of these things have happened and it's unlikely that any of
> > them will before some -next time leading up to the next -rc I've taken it
> > verbatim, but am certainly not happy with having had to do so, nor do I
> > see much reason to continue to do so in the future.
> 
> I don't expect you to do so, but if you are unsure about any schedule
> feel free to ask over mail or in person.
> 
Usually we have a -rc every week, and I like to have things sitting in
-next for at least a couple of days before I send them out to Linus. This
sort of stuff is unlikely to introduce any regression in other areas
outside of the configuration that you're already testing, but we've
certainly been bitten by enough seemingly obvious and "tested" stuff in
the past that we really do need the padding. With something this big and
insular it's possible to be a bit more flexible, but generally things of
this size I expect around -rc2 at the latest.

The first I even found out that there was a driver was after the USB
merge during the merge window. This is normally ok, but we could easily
have coordinated this better, had the driver in a topic branch pulled in
from the USB tree (or pulled by the USB tree) with the platform data on
top so it all has enough time to be tested together and improved upon,
and ultimately all ready to go immediately once the merge dependencies
are taken care of.

Generally I don't mind adding platform data bits later in the -rc
timeframe, but in this particular case it's obvious that everyone would
have benefitted from having this out there much earlier, and with
increased visibility (I'm not singling you out for this, it's just a
general observation).

  parent reply	other threads:[~2011-06-14  8:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09  6:55 [PATCH] ARM: mach-shmobile: Mackerel USB platform data update Magnus Damm
2011-06-09  7:09 ` Kuninori Morimoto
2011-06-09  8:44 ` Magnus Damm
2011-06-14  6:31 ` Paul Mundt
2011-06-14  7:54 ` Magnus Damm
2011-06-14  8:36 ` Paul Mundt [this message]
2011-06-14 12:15 ` Magnus Damm

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=20110614083633.GI17891@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.kernel.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