All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heiko Stübner" <heiko@sntech.de>
To: Greg KH <greg@kroah.com>, Alan Stern <stern@rowland.harvard.edu>
Cc: Kukjin Kim <kgene.kim@samsung.com>,
	Ben Dooks <ben-linux@fluff.org>,
	Thomas Abraham <thomas.ab@samsung.com>,
	Sangbeom Kim <sbkim73@samsung.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-usb@vger.kernel.org,
	Alexander Neumann <alexander@debian.org>
Subject: Re: [PATCH v4 3/4] USB: Gadget: Add Samsung S3C24XX USB High-Speed controller driver
Date: Sat, 16 Apr 2011 20:47:50 +0200	[thread overview]
Message-ID: <201104162047.50861.heiko@sntech.de> (raw)
In-Reply-To: <20110416145830.GA8811@kroah.com>

Am Samstag 16 April 2011, 16:58:30 schrieb Greg KH:
> On Sat, Apr 16, 2011 at 12:00:31PM +0200, Heiko Stübner wrote:
> > Am Donnerstag 14 April 2011, 19:15:23 schrieb Alan Stern:
> > > On Thu, 14 Apr 2011, Greg KH wrote:
> > > > On Thu, Apr 14, 2011 at 11:35:43AM -0400, Alan Stern wrote:
> > > > > On Thu, 14 Apr 2011, Heiko [iso-8859-1] St?bner wrote:
> > > > > > From: Thomas Abraham <thomas.ab@samsung.com>
> > > > > > 
> > > > > > The Samsung's S3C2416, S3C2443 and S3C2450 includes a USB
> > > > > > High-Speed device controller module. This driver enables support
> > > > > > for USB high-speed gadget functionality for the Samsung S3C24xx
> > > > > > SoC's that include this controller.
> > > > > > 
> > > > > > Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
> > > > > > Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
> > > > > > Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
> > > > > > Signed-off-by: Alexander Neumann <alexander@bumpern.de>
> > > > > > Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> > > > > 
> > > > > ...
> > > > > 
> > > > > > +static struct usb_ep_ops s3c_hsudc_ep_ops = {
> > > > > > +	.enable = s3c_hsudc_ep_enable,
> > > > > > +	.disable = s3c_hsudc_ep_disable,
> > > > > > +	.alloc_request = s3c_hsudc_alloc_request,
> > > > > > +	.free_request = s3c_hsudc_free_request,
> > > > > > +	.queue = s3c_hsudc_queue,
> > > > > > +	.dequeue = s3c_hsudc_dequeue,
> > > > > > +	.set_halt = s3c_hsudc_set_halt,
> > > > > > +};
> > > > > 
> > > > > There's no .set_wedge method.  Why do people always leave this out?
> > > > 
> > > > Does the code spit out a nasty warning if this isn't set?  If not, I
> > > > would suggest adding it so that this doesn't keep happening.
> > > > 
> > > > Or just refuse to be able to register the structure, that would stop
> > > > it right away :)
> > > 
> > > In fact, set_wedge is optional.  But it's so easy to implement, there's
> > > no good reason for leaving it out.
> > 
> > It seems Thomas [original author of the driver] will be able to implement
> > said set_wedge function for it.
> > As he will need a bit of time for this, two possible ways for going
> > forward come to mind:
> > (1) use current driver [as set_wedge is optional] and add it later via
> > patch (2) resubmit whole driver again when set_wedge is added to it
> > 
> > Obviously I would prefer option 1 :-), but in the end it's your decision.
>
> It shouldn't take that much time to do this, what is the delay?
from what I gathered, simply finding the necessary time slot for this.

> I'd prefer to get the correct version implemented and would not like to
> accept a patch that everyone knows is wrong.
ok, I will resubmit the driver when set_wedge is included

Heiko

WARNING: multiple messages have this Message-ID (diff)
From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 3/4] USB: Gadget: Add Samsung S3C24XX USB High-Speed controller driver
Date: Sat, 16 Apr 2011 20:47:50 +0200	[thread overview]
Message-ID: <201104162047.50861.heiko@sntech.de> (raw)
In-Reply-To: <20110416145830.GA8811@kroah.com>

Am Samstag 16 April 2011, 16:58:30 schrieb Greg KH:
> On Sat, Apr 16, 2011 at 12:00:31PM +0200, Heiko St?bner wrote:
> > Am Donnerstag 14 April 2011, 19:15:23 schrieb Alan Stern:
> > > On Thu, 14 Apr 2011, Greg KH wrote:
> > > > On Thu, Apr 14, 2011 at 11:35:43AM -0400, Alan Stern wrote:
> > > > > On Thu, 14 Apr 2011, Heiko [iso-8859-1] St?bner wrote:
> > > > > > From: Thomas Abraham <thomas.ab@samsung.com>
> > > > > > 
> > > > > > The Samsung's S3C2416, S3C2443 and S3C2450 includes a USB
> > > > > > High-Speed device controller module. This driver enables support
> > > > > > for USB high-speed gadget functionality for the Samsung S3C24xx
> > > > > > SoC's that include this controller.
> > > > > > 
> > > > > > Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
> > > > > > Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
> > > > > > Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
> > > > > > Signed-off-by: Alexander Neumann <alexander@bumpern.de>
> > > > > > Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> > > > > 
> > > > > ...
> > > > > 
> > > > > > +static struct usb_ep_ops s3c_hsudc_ep_ops = {
> > > > > > +	.enable = s3c_hsudc_ep_enable,
> > > > > > +	.disable = s3c_hsudc_ep_disable,
> > > > > > +	.alloc_request = s3c_hsudc_alloc_request,
> > > > > > +	.free_request = s3c_hsudc_free_request,
> > > > > > +	.queue = s3c_hsudc_queue,
> > > > > > +	.dequeue = s3c_hsudc_dequeue,
> > > > > > +	.set_halt = s3c_hsudc_set_halt,
> > > > > > +};
> > > > > 
> > > > > There's no .set_wedge method.  Why do people always leave this out?
> > > > 
> > > > Does the code spit out a nasty warning if this isn't set?  If not, I
> > > > would suggest adding it so that this doesn't keep happening.
> > > > 
> > > > Or just refuse to be able to register the structure, that would stop
> > > > it right away :)
> > > 
> > > In fact, set_wedge is optional.  But it's so easy to implement, there's
> > > no good reason for leaving it out.
> > 
> > It seems Thomas [original author of the driver] will be able to implement
> > said set_wedge function for it.
> > As he will need a bit of time for this, two possible ways for going
> > forward come to mind:
> > (1) use current driver [as set_wedge is optional] and add it later via
> > patch (2) resubmit whole driver again when set_wedge is added to it
> > 
> > Obviously I would prefer option 1 :-), but in the end it's your decision.
>
> It shouldn't take that much time to do this, what is the delay?
from what I gathered, simply finding the necessary time slot for this.

> I'd prefer to get the correct version implemented and would not like to
> accept a patch that everyone knows is wrong.
ok, I will resubmit the driver when set_wedge is included

Heiko

  reply	other threads:[~2011-04-16 18:48 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-23 21:35 [PATCH RESEND 0/4] USB: gadget: Add Samsung S3C24xx USB HS controller driver Heiko Stübner
2011-03-23 21:35 ` Heiko Stübner
2011-03-23 21:37 ` [PATCH RESEND 1/4] ARM: S3C2416: Add USB Phy register definitions Heiko Stübner
2011-03-23 21:37   ` Heiko Stübner
2011-03-23 21:38 ` [PATCH RESEND 2/4] ARM: S3C24XX: Add plaform device definition for USB High-Speed gadget controller Heiko Stübner
2011-03-23 21:38   ` Heiko Stübner
2011-03-23 21:39 ` [PATCH RESEND v3 3/4] USB: Gadget: Add Samsung S3C24XX USB High-Speed controller driver Heiko Stübner
2011-03-23 21:39   ` Heiko Stübner
2011-04-13 23:28   ` Greg KH
2011-04-13 23:28     ` Greg KH
2011-04-14  9:06     ` [PATCH RESEND v2 0/4] USB: gadget: Add Samsung S3C24xx USB HS " Heiko Stübner
2011-04-14  9:06       ` Heiko Stübner
2011-04-14  9:08       ` [PATCH 1/4] ARM: S3C2416: Add USB Phy register definitions Heiko Stübner
2011-04-14  9:08         ` Heiko Stübner
2011-04-14  9:10       ` [PATCH 2/4] ARM: S3C24XX: Add plaform device definition for USB High-Speed gadget controller Heiko Stübner
2011-04-14  9:10         ` Heiko Stübner
2011-04-14  9:11       ` [PATCH v4 3/4] USB: Gadget: Add Samsung S3C24XX USB High-Speed controller driver Heiko Stübner
2011-04-14  9:11         ` Heiko Stübner
2011-04-14 15:35         ` Alan Stern
2011-04-14 15:35           ` Alan Stern
2011-04-14 15:47           ` Greg KH
2011-04-14 15:47             ` Greg KH
2011-04-14 17:06             ` Heiko Stübner
2011-04-14 17:06               ` Heiko Stübner
2011-04-14 17:15             ` Alan Stern
2011-04-14 17:15               ` Alan Stern
2011-04-16 10:00               ` Heiko Stübner
2011-04-16 10:00                 ` Heiko Stübner
2011-04-16 14:58                 ` Greg KH
2011-04-16 14:58                   ` Greg KH
2011-04-16 18:47                   ` Heiko Stübner [this message]
2011-04-16 18:47                     ` Heiko Stübner
2011-05-07 20:23                   ` [PATCH v3 0/4] USB: gadget: Add Samsung S3C24xx USB HS " Heiko Stübner
2011-05-07 20:23                     ` Heiko Stübner
2011-05-07 20:24                     ` [PATCH 1/4] ARM: S3C2416: Add USB Phy register definitions Heiko Stübner
2011-05-07 20:24                       ` Heiko Stübner
     [not found]                     ` <201105072223.44163.heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2011-05-07 20:26                       ` [PATCH 2/4] ARM: S3C24XX: Add plaform device definition for USB High-Speed gadget controller Heiko Stübner
2011-05-07 20:26                         ` Heiko Stübner
2011-05-08 11:17                         ` Sergei Shtylyov
2011-05-08 11:17                           ` Sergei Shtylyov
2011-05-07 20:28                     ` [PATCH v5 3/4] USB: Gadget: Add Samsung S3C24XX USB High-Speed controller driver Heiko Stübner
2011-05-07 20:28                       ` Heiko Stübner
2011-05-07 20:29                     ` [PATCH 4/4] ARM: S3C2416: Add support for USB 2.0 High-Speed gadget controller Heiko Stübner
2011-05-07 20:29                       ` Heiko Stübner
2011-04-14  9:12       ` Heiko Stübner
2011-04-14  9:12         ` Heiko Stübner
2011-03-23 21:40 ` [PATCH RESEND " Heiko Stübner
2011-03-23 21:40   ` Heiko Stübner
2011-04-08 10:04 ` [PATCH RESEND 0/4] USB: gadget: Add Samsung S3C24xx USB HS controller driver Heiko Stübner
2011-04-08 10:04   ` Heiko Stübner
2011-04-08 20:52   ` Greg KH
2011-04-08 20:52     ` Greg KH

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=201104162047.50861.heiko@sntech.de \
    --to=heiko@sntech.de \
    --cc=alexander@debian.org \
    --cc=ben-linux@fluff.org \
    --cc=greg@kroah.com \
    --cc=kgene.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sbkim73@samsung.com \
    --cc=stern@rowland.harvard.edu \
    --cc=thomas.ab@samsung.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.