diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-04-14 18:22:41 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-19 12:06:22 +0100 |
commit | fb855b8d46a17c9bb5562e315158de52b18b7e62 (patch) | |
tree | 4bf9d5b867d9af0dfd84750e85067e009c052790 /sound/soc/fsl/fsl_micfil.h | |
parent | 2495ba26e838176c3b572b2b1592d75b4b963692 (diff) |
ASoC: fsl_micfil: use define for OSR default value
The OSR (OverSampling Rate) setting is set once to the default value
and never changed throughout the driver. Nevertheless the value is
read back from the register for further calculations. Just use the
default value because we know what we have written.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20220414162249.3934543-14-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_micfil.h')
-rw-r--r-- | sound/soc/fsl/fsl_micfil.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_micfil.h b/sound/soc/fsl/fsl_micfil.h index 5cecae251979..08901827047d 100644 --- a/sound/soc/fsl/fsl_micfil.h +++ b/sound/soc/fsl/fsl_micfil.h @@ -58,7 +58,6 @@ #define MICFIL_QSEL_VLOW2_QUALITY 4 #define MICFIL_CTRL2_CICOSR GENMASK(19, 16) -#define MICFIL_CTRL2_CICOSR_DEFAULT 0 #define MICFIL_CTRL2_CLKDIV GENMASK(7, 0) /* MICFIL Status Register -- REG_MICFIL_STAT 0x08 */ |