Re: [PATCH] soundwire: master: use pm_runtime_set_active() on add

2020-12-01 Thread Vinod Koul
On 24-11-20, 21:07, Bard Liao wrote: > From: Pierre-Louis Bossart > > The 'master' device acts as a glue layer used during bus > initialization only, and it needs to be 'transparent' for pm_runtime > management. Its behavior should be that it becomes active when one of > its children becomes

Re: [PATCH] soundwire: master: use pm_runtime_set_active() on add

2020-11-26 Thread Vinod Koul
On 26-11-20, 09:52, Vinod Koul wrote: > > > > @@ -154,7 +163,12 @@ int sdw_master_device_add(struct sdw_bus *bus, > > > struct device *parent, > > > > bus->dev = >dev; > > > > bus->md = md; > > > > > > > > + pm_runtime_set_autosuspend_delay(>md->dev, > > >

Re: [PATCH] soundwire: master: use pm_runtime_set_active() on add

2020-11-25 Thread Vinod Koul
..@cadence.com; > > srinivas.kandaga...@linaro.org; rander.w...@linux.intel.com; > > ranjani.sridha...@linux.intel.com; hui.w...@canonical.com; pierre- > > louis.boss...@linux.intel.com; Kale, Sanyog R ; > > Lin, > > Mengdong ; Liao, Bard > > Subject: Re: [PATCH]

RE: [PATCH] soundwire: master: use pm_runtime_set_active() on add

2020-11-25 Thread Liao, Bard
.w...@linux.intel.com; > ranjani.sridha...@linux.intel.com; hui.w...@canonical.com; pierre- > louis.boss...@linux.intel.com; Kale, Sanyog R ; Lin, > Mengdong ; Liao, Bard > Subject: Re: [PATCH] soundwire: master: use pm_runtime_set_active() on > add > > On 24-11-20, 21:07, Bard

Re: [PATCH] soundwire: master: use pm_runtime_set_active() on add

2020-11-24 Thread Vinod Koul
On 24-11-20, 21:07, Bard Liao wrote: > From: Pierre-Louis Bossart > > The 'master' device acts as a glue layer used during bus > initialization only, and it needs to be 'transparent' for pm_runtime > management. Its behavior should be that it becomes active when one of > its children becomes

[PATCH] soundwire: master: use pm_runtime_set_active() on add

2020-11-24 Thread Bard Liao
From: Pierre-Louis Bossart The 'master' device acts as a glue layer used during bus initialization only, and it needs to be 'transparent' for pm_runtime management. Its behavior should be that it becomes active when one of its children becomes active, and suspends when all of its children are