Skip to content

ASoC: SOF: fix suspend ordering with runtime idle

Kai Vehmanen alsa-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 3 repliesIn review
  2. v2 posting 1/23 patches 0 repliesSuperseded
  3. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

- no changes since v2 -- resending as 2 weeks has passed and multiple reviewed-by acks already received

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: hdac_hdmi: report codec link up/down status to bussound/soc/codecs/hdac_hdmi.c+2 -01 reply
2/3ASoC: SOF: add runtime idle callbacksound/soc/sof/intel/hda.h sound/soc/sof/ops.h sound/soc/sof/pm.c +3 more+21 -21 reply
3/3ASoC: SOF: Intel: implement runtime idle for CNL/APLsound/soc/sof/intel/apl.c sound/soc/sof/intel/cnl.c sound/soc/sof/intel/hda-dsp.c+15 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPierre-Louis BossartTakashi Iwai
1/3R-b R-b R-b R-b
2/3R-b R-b R-b R-b
3/3R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 resend 0/3] ASoC: SOF: fix suspend ordering with runtime idle

Hi all,
this series addresses issues with ordering of HDA codec and controller suspends in the runtime PM flows. The implemented logic for SOF is similar to what has been used by the Intel AZX HDA driver.

To implement this, first a fix is needed to hdac_hdmic ASoC codec driver. SOF framework also needs to be extended to allow SOF devices to implement a runtime_idle callback. Third, concrete implementation is in a separate patch for APL/CNL Intel hardware, for which strict ordering of codec-controller power down sequence needs to be maintained.

As this extends the SOF device interface, Pierre asked me to send to the list for wider review. This series has been prereviewd at SOF github as:
https://github.com/thesofproject/linux/pull/1003

v2 resend:
- no changes since v2 -- resending as 2 weeks has passed and multiple reviewed-by acks already received
v2:
- Rebased on broonie/for-next, there was a conflict with patch "ASoC: SOF: Intel: hda: release link DMA for paused streams during suspend"
- Added Reviewed-by tags from v1 round

Kai Vehmanen (3):
ASoC: hdac_hdmi: report codec link up/down status to bus
ASoC: SOF: add runtime idle callback
ASoC: SOF: Intel: implement runtime idle for CNL/APL

 sound/soc/codecs/hdac_hdmi.c  |  2 ++
 sound/soc/sof/intel/apl.c     |  1 +
 sound/soc/sof/intel/cnl.c     |  1 +
 sound/soc/sof/intel/hda-dsp.c | 13 +++++++++++++
 sound/soc/sof/intel/hda.h     |  1 +
 sound/soc/sof/ops.h           |  8 ++++++++
 sound/soc/sof/pm.c            |  8 ++++++++
 sound/soc/sof/sof-acpi-dev.c  |  2 +-
 sound/soc/sof/sof-pci-dev.c   |  2 +-
 sound/soc/sof/sof-priv.h      |  2 ++
 10 files changed, 38 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1