From: Tony Lindgren <tony@atomide.com>
To: David Brownell <david-b@pacbell.net>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] ARM: OMAP: musb_vbus_store(): dont exit with spinlock held
Date: Mon, 17 Sep 2007 11:26:19 -0700 [thread overview]
Message-ID: <20070917182619.GF21226@atomide.com> (raw)
In-Reply-To: <20070901021526.14CFF23518D@adsl-69-226-248-13.dsl.pltn13.pacbell.net>
* David Brownell <david-b@pacbell.net> [070831 19:15]:
> > From linux-omap-open-source-bounces+david-b=pacbell.net@linux.omap.com Fri Aug 31 16:33:11 2007
> > Date: Fri, 31 Aug 2007 16:29:22 -0700
> > From: Kevin Hilman <khilman@mvista.com>
> > To: linux-omap-open-source@linux.omap.com
> > Subject: [PATCH] ARM: OMAP: musb_vbus_store(): dont exit with spinlock held
> >
> > Signed-off-by: Kevin Hilman <khilman@mvista.com>
>
> Ack.
>
> > ---
> > drivers/usb/musb/musb_core.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > Index: dev/drivers/usb/musb/musb_core.c
> > ===================================================================
> > --- dev.orig/drivers/usb/musb/musb_core.c
> > +++ dev/drivers/usb/musb/musb_core.c
> > @@ -1683,11 +1683,12 @@ musb_vbus_store(struct device *dev, stru
> > unsigned long flags;
> > unsigned long val;
> >
> > - spin_lock_irqsave(&musb->lock, flags);
> > if (sscanf(buf, "%lu", &val) < 1) {
> > printk(KERN_ERR "Invalid VBUS timeout ms value\n");
> > return -EINVAL;
> > }
> > +
> > + spin_lock_irqsave(&musb->lock, flags);
> > musb->a_wait_bcon = val;
> > if (musb->xceiv.state == OTG_STATE_A_WAIT_BCON)
> > musb->is_active = 0;
This too, sorry for the delay I guess I forgot to push these earlier.
Tony
prev parent reply other threads:[~2007-09-17 18:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-31 23:29 [PATCH] ARM: OMAP: musb_vbus_store(): dont exit with spinlock held Kevin Hilman
2007-09-01 2:15 ` David Brownell
2007-09-17 18:26 ` Tony Lindgren [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=20070917182619.GF21226@atomide.com \
--to=tony@atomide.com \
--cc=david-b@pacbell.net \
--cc=linux-omap-open-source@linux.omap.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