mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Greg KH <gregkh@suse.de>
Cc: "Julia Lawall" <julia@diku.dk>,
	"Michał Nazarewicz" <m.nazarewicz@samsung.com>,
	linux-usb@vger.kernel.org, "David Brownell" <david-b@pacbell.net>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb gadget: don't save bind callback in struct usb_gadget_driver
Date: Tue, 3 Aug 2010 09:40:57 +0200	[thread overview]
Message-ID: <20100803074056.GB17297@pengutronix.de> (raw)
In-Reply-To: <20100802225440.GA9190@suse.de>

[stripped down Cc: list to annoy fewer people]

On Mon, Aug 02, 2010 at 03:54:40PM -0700, Greg KH wrote:
> On Mon, Aug 02, 2010 at 03:12:48PM +0200, Uwe Kleine-König wrote:
> > On Mon, Aug 02, 2010 at 02:51:36PM +0200, Julia Lawall wrote:
> > > > diff --git a/drivers/usb/gadget/amd5536udc.c b/drivers/usb/gadget/amd5536udc.c
> > > > index 731150d..c266c1e 100644
> > > > --- a/drivers/usb/gadget/amd5536udc.c
> > > > +++ b/drivers/usb/gadget/amd5536udc.c
> > > > @@ -1954,13 +1954,14 @@ static int setup_ep0(struct udc *dev)
> > > >  }
> > > >  
> > > >  /* Called by gadget driver to register itself */
> > > > -int usb_gadget_register_driver(struct usb_gadget_driver *driver)
> > > > +int usb_gadget_probe_driver(struct usb_gadget_driver *driver,
> > > > +		int (*bind)(struct usb_gadget *))
> > > >  {
> > > >  	struct udc		*dev = udc;
> > > >  	int			retval;
> > > >  	u32 tmp;
> > > >  
> > > > -	if (!driver || !driver->bind || !driver->setup
> > > > +	if (!driver || bind || !driver->setup
> > > 
> > > I have the impression that this should be !bind rather than bind.  
> > ah, now I see what you meant.  Obviously you're right.  I fixed it up
> > locally here for now.  Greg, just tell me when/if you need a fixed
> > patch.
> 
> Didn't you already post a "fixed" patch?
Yes, I did:

	http://article.gmane.org/gmane.linux.ports.arm.kernel/86640
	http://article.gmane.org/gmane.linux.kernel/1017575

If you append '/raw' to the URL they should be applicable by
git/quilt/whatever you use.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

      parent reply	other threads:[~2010-08-03  7:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <op.vgs04dub7p4s8u@pikus>
     [not found] ` <1280752803-11441-1-git-send-email-u.kleine-koenig@pengutronix.de>
2010-08-02 12:45   ` Christoph Hellwig
     [not found]   ` <op.vgtecwcq7p4s8u@pikus>
2010-08-02 18:25     ` Uwe Kleine-König
2010-08-02 18:27       ` [PATCH 1/2] " Uwe Kleine-König
2010-08-05  8:58         ` Michał Nazarewicz
2010-08-05  9:39           ` Uwe Kleine-König
2010-08-05 10:37             ` Michał Nazarewicz
2010-08-02 18:27       ` [PATCH 2/2] usb gadget: don't save bind callback in struct usb_configuration Uwe Kleine-König
2010-08-05  9:05         ` Michał Nazarewicz
2010-08-05  9:45           ` Uwe Kleine-König
2010-08-05 10:02             ` Michał Nazarewicz
2010-08-05  9:50           ` [PATCH 2/2 v2] " Uwe Kleine-König
2010-08-05 22:34             ` Greg KH
2010-08-06  4:50               ` Uwe Kleine-König
2010-08-06  8:46               ` Michał Nazarewicz
     [not found]   ` <Pine.LNX.4.64.1008021446470.10662@ask.diku.dk>
     [not found]     ` <20100802131248.GD13900@pengutronix.de>
     [not found]       ` <20100802225440.GA9190@suse.de>
2010-08-03  7:40         ` Uwe Kleine-König [this message]

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=20100803074056.GB17297@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=david-b@pacbell.net \
    --cc=gregkh@suse.de \
    --cc=julia@diku.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=m.nazarewicz@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®