Re: [PATCH v3 0/3] Add runtime PM for SAI digital audio interface

From: Viorel Suman
Date: Tue Apr 23 2019 - 03:20:35 EST


For this series:

Reviewed-by: Viorel Suman <viorel.suman@xxxxxxx>

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
>