From: Kai Vehmanen <kai.vehmanen@linux.intel.com>
To: alsa-devel@alsa-project.org, broonie@kernel.org
Cc: tiwai@suse.de, libin.yang@intel.com,
pierre-louis.bossart@linux.intel.com,
kai.vehmanen@linux.intel.com
Subject: [PATCH v2 0/3] ASoC: SOF: fix suspend ordering with runtime idle
Date: Tue, 18 Jun 2019 13:18:01 +0300 [thread overview]
Message-ID: <20190618101804.21670-1-kai.vehmanen@linux.intel.com> (raw)
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:
- 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(-)
--
2.17.1
next reply other threads:[~2019-06-18 10:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-18 10:18 Kai Vehmanen [this message]
2019-06-18 10:18 ` [PATCH v2 1/3] ASoC: hdac_hdmi: report codec link up/down status to bus Kai Vehmanen
2019-06-18 10:18 ` [PATCH v2 2/3] ASoC: SOF: add runtime idle callback Kai Vehmanen
2019-06-18 10:18 ` [PATCH v2 3/3] ASoC: SOF: Intel: implement runtime idle for CNL/APL Kai Vehmanen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190618101804.21670-1-kai.vehmanen@linux.intel.com \
--to=kai.vehmanen@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=libin.yang@intel.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.