mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add runtime PM for SAI digital audio interface
@ 2019-04-22 19:02 Daniel Baluta
  2019-04-22 19:02 ` [PATCH v3 1/3] ASoC: fsl_sai: Update is_slave_mode with correct value Daniel Baluta
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Daniel Baluta @ 2019-04-22 19:02 UTC (permalink / raw)
  To: broonie
  Cc: S.j. Wang, lgirdwood, timur, Xiubo.Lee, festevam, perex, tiwai,
	alsa-devel, linuxppc-dev, linux-kernel, dl-linux-imx,
	Daniel Baluta

First patch fixes a bug by correctly setting is_slave_mode, then
second patch adds support for runtime PM and finally 3rd patch moves
clock handling from startup/shtudown function to runtime PM handlers.

Changes since v2: (after Viorel's comments)
	- no need to check for is_slave_mode when enabling/disabling the clocks
	because sai->mclk_streams is only set when SAI is in master mode.

Changes since v1: (after Nicolin's comments)
	- added patch 1
	- added fsl_sai_remove in order to call pm_runtime_disable
	- only disable/enable mclk when SAI in master mode.

Daniel Baluta (2):
  ASoC: fsl_sai: Update is_slave_mode with correct value
  ASoC: fsl_sai: Add support for runtime pm

Shengjiu Wang (1):
  ASoC: fsl_sai: Move clock operation to PM runtime

 sound/soc/fsl/fsl_sai.c | 78 +++++++++++++++++++++++++++++++++--------
 1 file changed, 63 insertions(+), 15 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-26 12:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-22 19:02 [PATCH v3 0/3] Add runtime PM for SAI digital audio interface Daniel Baluta
2019-04-22 19:02 ` [PATCH v3 1/3] ASoC: fsl_sai: Update is_slave_mode with correct value Daniel Baluta
2019-04-22 19:02 ` [PATCH v3 2/3] ASoC: fsl_sai: Add support for runtime pm Daniel Baluta
2019-04-22 19:02 ` [PATCH v3 3/3] ASoC: fsl_sai: Move clock operation to PM runtime Daniel Baluta
2019-04-26 12:11   ` Daniel Baluta
2019-04-23  7:20 ` [PATCH v3 0/3] Add runtime PM for SAI digital audio interface Viorel Suman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®