Re: [PATCH 8/9] soundwire: intel: add wake interrupt support

2020-07-15 Thread Pierre-Louis Bossart
On 7/14/20 11:50 PM, Vinod Koul wrote: On 01-07-20, 10:25, Pierre-Louis Bossart wrote: +* wake up master and slave so that slave can notify master +* the wakeen event and let codec driver check codec status +*/ + list_for_each_entry(slave, >slaves, node) { +

Re: [PATCH 8/9] soundwire: intel: add wake interrupt support

2020-07-14 Thread Vinod Koul
On 01-07-20, 10:25, Pierre-Louis Bossart wrote: > > > > > > + * wake up master and slave so that slave can notify master > > > > > + * the wakeen event and let codec driver check codec status > > > > > + */ > > > > > + list_for_each_entry(slave, >slaves, node) { > > > > > +

Re: [PATCH 8/9] soundwire: intel: add wake interrupt support

2020-07-01 Thread Pierre-Louis Bossart
+* wake up master and slave so that slave can notify master +* the wakeen event and let codec driver check codec status +*/ + list_for_each_entry(slave, >slaves, node) { + /* +* discard devices that are defined in ACPI tables but +

Re: [PATCH 8/9] soundwire: intel: add wake interrupt support

2020-06-30 Thread Vinod Koul
On 30-06-20, 12:18, Pierre-Louis Bossart wrote: > > > + return 0; > > > + } > > > + > > > + shim = sdw->link_res->shim; > > > + wake_sts = intel_readw(shim, SDW_SHIM_WAKESTS); > > > + > > > + if (!(wake_sts & BIT(sdw->instance))) > > > + return 0; > > > + > > > + /* disable WAKEEN

Re: [PATCH 8/9] soundwire: intel: add wake interrupt support

2020-06-30 Thread Pierre-Louis Bossart
On 6/30/20 11:51 AM, Vinod Koul wrote: On 24-06-20, 01:35, Bard Liao wrote: From: Rander Wang When system is suspended in clock stop mode on intel platforms, both master and slave are in clock stop mode and soundwire bus is taken over by a glue hardware. The bus message for jack event is

Re: [PATCH 8/9] soundwire: intel: add wake interrupt support

2020-06-30 Thread Vinod Koul
On 24-06-20, 01:35, Bard Liao wrote: > From: Rander Wang > > When system is suspended in clock stop mode on intel platforms, both > master and slave are in clock stop mode and soundwire bus is taken > over by a glue hardware. The bus message for jack event is processed > by this glue hardware,

[PATCH 8/9] soundwire: intel: add wake interrupt support

2020-06-23 Thread Bard Liao
From: Rander Wang When system is suspended in clock stop mode on intel platforms, both master and slave are in clock stop mode and soundwire bus is taken over by a glue hardware. The bus message for jack event is processed by this glue hardware, which will trigger an interrupt to resume audio