Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1515986

Re: [PATCH] usbnet: prevent device rpm suspend in usbnet_probe function

From Oliver Neukum <oneukum@suse.com>
Newsgroups linux.kernel
Subject Re: [PATCH] usbnet: prevent device rpm suspend in usbnet_probe function
Date 2016-11-07 11:40 +0100
Message-ID <sAPvj-1Se-1@gated-at.bofh.it> (permalink)
References <szMJc-2di-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2016-11-04 at 09:26 -0400, Alan Stern wrote:
> On Fri, 4 Nov 2016, Kai-Heng Feng wrote:
> 
> > Sometimes cdc_mbim failed to probe if runtime pm is enabled:
> > [    9.305626] cdc_mbim: probe of 2-2:1.12 failed with error -22
> > 
> > This can be solved by increase its pm usage counter.
> 
> This should not be needed.  The USB core increments the PM usage 
> counter of a device before probing its interfaces.

Indeed. Yet we have experimental evidence.

Kai-Heng Feng, could you please enable dynamic debugging
for 
drivers/usb/core/driver.c

so that we can see what is going on with the usage counters?

	Regards
		Oliver

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] usbnet: prevent device rpm suspend in usbnet_probe function Kai-Heng Feng <kai.heng.feng@canonical.com> - 2016-11-04 11:00 +0100
  Re: [PATCH] usbnet: prevent device rpm suspend in usbnet_probe  function Alan Stern <stern@rowland.harvard.edu> - 2016-11-04 14:30 +0100
    Re: [PATCH] usbnet: prevent device rpm suspend in usbnet_probe  function Oliver Neukum <oneukum@suse.com> - 2016-11-07 11:40 +0100
  Re: [PATCH] usbnet: prevent device rpm suspend in usbnet_probe  function Oliver Neukum <oneukum@suse.com> - 2016-11-07 12:10 +0100

csiph-web