diff options
author | Viorel Suman <viorel.suman@nxp.com> | 2020-05-22 18:38:15 +0300 |
---|---|---|
committer | Viorel Suman <viorel.suman@nxp.com> | 2020-05-25 15:43:37 +0300 |
commit | eb01ee51095e0b11b3f58b52549eec09a14ebca1 (patch) | |
tree | 2d4df218963f03ee8d3129a281bc25f7a6152ee8 /sound/soc/fsl | |
parent | da37a31d45c83a4dc307f94a568553797afdd869 (diff) |
MLK-22598: ASoC: fsl_micfil: fix a cherry-pick error
The original patch updates REG_MICFIL_STAT in fsl_micfil_reset
method, but not in configure_hwvad_interrupts, fix this.
Fixes: e12b0060cdac ("MLK-22598: ASoC: fsl_micfil: Reset channel output
data Flag")
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r-- | sound/soc/fsl/fsl_micfil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c index a04376768832..22826d48244b 100644 --- a/sound/soc/fsl/fsl_micfil.c +++ b/sound/soc/fsl/fsl_micfil.c @@ -843,6 +843,9 @@ static int fsl_micfil_reset(struct device *dev) return ret; } + /* w1c */ + regmap_write_bits(micfil->regmap, REG_MICFIL_STAT, 0xFF, 0xFF); + return 0; } @@ -877,9 +880,6 @@ static int configure_hwvad_interrupts(struct device *dev, return ret; } - /* w1c */ - regmap_write_bits(micfil->regmap, REG_MICFIL_STAT, 0xFF, 0xFF); - return 0; } |