For this series:
Reviewed-by: Viorel Suman viorel.suman@nxp.com
On Lu, 2019-04-22 at 19:02 +0000, Daniel Baluta wrote:
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