From: Clemens Ladisch <clemens-P6GI/4k7KOmELgA04lAiVw@public.gmane.org>
To: Alan Stern <stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>
Cc: "Oliver Neukum" <oneukum-l3A5Bk7waGM@public.gmane.org>,
"Takashi Iwai" <tiwai-l3A5Bk7waGM@public.gmane.org>,
"Jonathan Nieder"
<jrnieder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Steffen Müller"
<steffen.mueller-Coi19p7x1OHFVwzeVveEFA@public.gmane.org>,
alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
"Olivier MATZ" <zer0-RqaWXwjnwG4BE+pwOMkbTQ@public.gmane.org>,
linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
"David Banks" <amoebae-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Ralf Lang" <lang-shG/GajIFYqbacvFa/9K2g@public.gmane.org>
Subject: Re: [alsa-devel] [PATCH] usb: add USB_QUIRK_RESET_RESUME for M-Audio 49
Date: Mon, 26 Nov 2012 21:12:25 +0100 [thread overview]
Message-ID: <50B3CD29.2060505@ladisch.de> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1211261111130.2168-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
Alan Stern wrote:
> On Mon, 26 Nov 2012, Oliver Neukum wrote:
>> On Monday 26 November 2012 14:43:13 Clemens Ladisch wrote:
>>> usb_autopm_get_interface() cannot be called from the USB probe callback.
>>
>> You can use usb_autopm_get_interface_no_resume()
>> During probe() the device is known to not be suspended.
>
> In fact, as far as I know you _can_ use usb_autopm_get_interface() from
> within a probe routine. Is there some problem with it I'm not aware of?
It returns -EACCES.
But _no_resume() appears to work just fine.
Regards,
Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-11-26 20:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4FA2D481.4070304@droids-corp.org>
[not found] ` <4FA2DB9D.1040303@droids-corp.org>
[not found] ` <20120604110608.GG8248@droids-corp.org>
[not found] ` <20120605232432.GE3619@burratino>
[not found] ` <4FD06563.7050605@droids-corp.org>
[not found] ` <20121125094110.GA21387@elie.Belkin>
[not found] ` <50B2815E.2090105@droids-corp.org>
2012-11-25 21:21 ` [PATCH] usb: add USB_QUIRK_RESET_RESUME for M-Audio 49 Jonathan Nieder
[not found] ` <20121125212100.GE24024-fcEM2ccDkbL2nhBuCrrZHw@public.gmane.org>
2012-11-25 22:01 ` [alsa-devel] " Clemens Ladisch
[not found] ` <50B29537.7060007-P6GI/4k7KOmELgA04lAiVw@public.gmane.org>
2012-11-26 9:35 ` Takashi Iwai
2012-11-26 12:35 ` Clemens Ladisch
2012-11-26 13:04 ` Takashi Iwai
[not found] ` <s5hwqx8h5w1.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2012-11-26 13:43 ` Clemens Ladisch
2012-11-26 13:54 ` Oliver Neukum
2012-11-26 16:12 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1211261111130.2168-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-11-26 20:12 ` Clemens Ladisch [this message]
2012-11-26 21:54 ` Alan Stern
2012-11-26 13:58 ` Takashi Iwai
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=50B3CD29.2060505@ladisch.de \
--to=clemens-p6gi/4k7komelga04laivw@public.gmane.org \
--cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
--cc=amoebae-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=jrnieder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=lang-shG/GajIFYqbacvFa/9K2g@public.gmane.org \
--cc=linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=oneukum-l3A5Bk7waGM@public.gmane.org \
--cc=stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=steffen.mueller-Coi19p7x1OHFVwzeVveEFA@public.gmane.org \
--cc=stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org \
--cc=tiwai-l3A5Bk7waGM@public.gmane.org \
--cc=zer0-RqaWXwjnwG4BE+pwOMkbTQ@public.gmane.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 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.