MLK-21484-1: ASoC: fsl_micfil: unprepare the clk before reparent
authorViorel Suman <viorel.suman@nxp.com>
Thu, 18 Apr 2019 12:14:17 +0000 (15:14 +0300)
committerViorel Suman <viorel.suman@nxp.com>
Mon, 22 Apr 2019 06:47:00 +0000 (09:47 +0300)
commitb17f0cc8f0676783d2e74c2521c01d5e89443de3
tree43a63abcc39b2c7beccef81bb7879b9c10227942
parent329bf27683ae9e13e41d931ffb1fb0e3087b0a16
MLK-21484-1: ASoC: fsl_micfil: unprepare the clk 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. Fix this by moving clk_disable_unprepare before clk_set_parent.

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