MLK-21484-3: ASoC: fsl_sai: ensure clk is unprepared before reparent
authorViorel Suman <viorel.suman@nxp.com>
Thu, 18 Apr 2019 12:28:04 +0000 (15:28 +0300)
committerViorel Suman <viorel.suman@nxp.com>
Mon, 22 Apr 2019 06:47:00 +0000 (09:47 +0300)
commite146b5f34492cd046187b92eb4ae37f238557eb9
tree41bf0faac9911d933bf47eb03c84a03b8e987ab2
parent69b1dce1105a26c9125dbd5a486ad8d72f269732
MLK-21484-3: ASoC: fsl_sai: ensure clk is unprepared before reparent

On recent kernels clks which are marked with CLK_SET_RATE_GATE are
"protected" against further changes at clk_prepare time, including clk
reparent. Wrap clk set_parent and set_rate operations with
disable_unprepare and prepare_enable.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
sound/soc/fsl/fsl_sai.c