Re: [PATCH 09/13] soundwire: intel: add CLK_STOP_BUS_RESET support

2020-08-17 Thread Vinod Koul
On 17-08-20, 09:30, Pierre-Louis Bossart wrote: > > > > > > + } else if (clock_stop_quirks & SDW_INTEL_CLK_STOP_BUS_RESET) { > > > + ret = sdw_cdns_clock_stop(cdns, true); > > > + if (ret < 0) { > > > + dev_err(dev, "cannot enable clock stop on suspend\n"); > > >

Re: [PATCH 09/13] soundwire: intel: add CLK_STOP_BUS_RESET support

2020-08-17 Thread Pierre-Louis Bossart
+ } else if (clock_stop_quirks & SDW_INTEL_CLK_STOP_BUS_RESET) { + ret = sdw_cdns_clock_stop(cdns, true); + if (ret < 0) { + dev_err(dev, "cannot enable clock stop on suspend\n"); + return ret; + } + +

Re: [PATCH 09/13] soundwire: intel: add CLK_STOP_BUS_RESET support

2020-08-17 Thread Vinod Koul
On 22-07-20, 04:37, Bard Liao wrote: > From: Rander Wang > > Move existing pm_runtime suspend under the CLK_STOP_TEARDOWN case. > > In this mode the Master IP will lose all context but in-band wakes are > supported. > > On pm_runtime resume a complete re-enumeration will be performed after > a

[PATCH 09/13] soundwire: intel: add CLK_STOP_BUS_RESET support

2020-07-22 Thread Bard Liao
From: Rander Wang Move existing pm_runtime suspend under the CLK_STOP_TEARDOWN case. In this mode the Master IP will lose all context but in-band wakes are supported. On pm_runtime resume a complete re-enumeration will be performed after a bus reset. Signed-off-by: Rander Wang Signed-off-by: