linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
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 12:00:31 +0200	[thread overview]
Message-ID: <201104161200.32042.heiko@sntech.de> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1104141313210.2487-100000@iolanthe.rowland.org>

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.

Heiko

  reply	other threads:[~2011-04-16 10:00 UTC|newest]

Thread overview: 26+ 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:37 ` [PATCH RESEND 1/4] ARM: S3C2416: Add USB Phy register definitions 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:39 ` [PATCH RESEND v3 3/4] USB: Gadget: Add Samsung S3C24XX USB High-Speed controller driver Heiko Stübner
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:08       ` [PATCH 1/4] ARM: S3C2416: Add USB Phy register definitions 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:11       ` [PATCH v4 3/4] USB: Gadget: Add Samsung S3C24XX USB High-Speed controller driver Heiko Stübner
2011-04-14 15:35         ` Alan Stern
2011-04-14 15:47           ` Greg KH
2011-04-14 17:06             ` Heiko Stübner
2011-04-14 17:15             ` Alan Stern
2011-04-16 10:00               ` Heiko Stübner [this message]
2011-04-16 14:58                 ` Greg KH
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:24                     ` [PATCH 1/4] ARM: S3C2416: Add USB Phy register definitions Heiko Stübner
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-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:29                     ` [PATCH 4/4] ARM: S3C2416: Add support for USB 2.0 High-Speed gadget controller Heiko Stübner
2011-04-14  9:12       ` Heiko Stübner
2011-03-23 21:40 ` [PATCH RESEND " 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 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=201104161200.32042.heiko@sntech.de \
    --to=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).