On Wed, Jun 01, 2016 at 12:11:45PM +0300, Mika Westerberg wrote: > I'm going to change the code to look like following (pm_runtime_mark_last_busy() > gets called before pm_runtime_put_autosuspend() even if not strictly needed): > > pm_runtime_set_autosuspend_delay(&dev->dev, 100); > pm_runtime_use_autosuspend(&dev->dev); > pm_runtime_mark_last_busy(&dev->dev); > pm_runtime_put_autosuspend(&dev->dev); > pm_runtime_allow(&dev->dev); > > Note I'm still increasing default autosuspend delay from 10ms to 100ms. > > Does the above work for you? Yes, tested it and couldn't spot any issues. Thanks, Lukas -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html