Re: [RESEND PATCH v3] ASoC: fsl_sai: Move clock operation to PM runtime
From: Nicolin Chen
Date: Tue May 07 2019 - 19:13:36 EST
On Tue, May 07, 2019 at 02:06:52PM +0000, Daniel Baluta wrote:
> From: Shengjiu Wang <shengjiu.wang@xxxxxxx>
>
> Turn off/on clocks when device enters suspend/resume. This
> can help saving power.
>
> As a further optimization, we turn off/on mclk only when SAI
> is in master mode because otherwise mclk is externally provided.
>
> Signed-off-by: Shengjiu Wang <shengjiu.wang@xxxxxxx>
> Signed-off-by: Daniel Baluta <daniel.baluta@xxxxxxx>
> Reviewed-by: Viorel Suman <viorel.suman@xxxxxxx>
Acked-by: Nicolin Chen <nicoleotsuka@xxxxxxxxx>