Re: [PATCH v9 16/19] usb: hub_handle_remote_wakeup() depends on CONFIG_PM_RUNTIME=y

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

 



On Fri, 9 May 2014, Dan Williams wrote:

> Updated patch:
> 
> 8<--------------
> Subject: usb: hub_handle_remote_wakeup() depends on CONFIG_PM_RUNTIME=y
> 
> From: Dan Williams <dan.j.williams@xxxxxxxxx>
> 
> Per Alan:
> "You mean from within hub_handle_remote_wakeup()?  That routine will
> never get called if CONFIG_PM_RUNTIME isn't enabled, because khubd
> never sees wakeup requests if they arise during system suspend.
> 
> In fact, that routine ought to go inside the "#ifdef CONFIG_PM_RUNTIME"
> portion of hub.c, along with the other suspend/resume code."
> 
> Suggested-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

--
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