Re: [PATCH v4] xhci - correct comp_mode_recovery_timer on return from hibernate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 25 Mar 2013, Sarah Sharp wrote:

> On Mon, Mar 25, 2013 at 11:14:15PM +0100, Rafael J. Wysocki wrote:
> > On Monday, March 25, 2013 02:35:37 PM Sarah Sharp wrote:
> > > Alan,
> > > 
> > > Is there a way to disable runtime PM for a PCI host controller, but
> > > still allow the system to suspend/hibernate?
> > 
> > It should be.  Just write "on" to the controller's power/control file in sysfs.
> 
> And what's the equivalent function call?  We want to disable it within
> the xHCI driver.

Actually you don't want the equivalent function call, because then the
user could reverse its effect by writing "auto" back to the
power/control file.  You want something more permanent.

Call pm_runtime_get_noresume in your probe function and
pm_runtime_put_noidle in your release function.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux