summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorCosmin-Gabriel Samoila <cosmin.samoila@nxp.com>2018-06-07 15:59:52 +0300
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit5780c157edaed5aa199047f18e9cf364cbf0a78b (patch)
treee689ba17ea6a3d7b1864fc3194e94849504e56b1 /sound
parent8905d4cc9df74d8fe4eec21fb8ba4c09933e8405 (diff)
MLK-16784 sound: asoc: mark micfil stat register volatile
Mark micfil stat register as volatile since status flags should not be read from cache. Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/fsl_micfil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c
index 47953f073a99..5eb3a91e2c55 100644
--- a/sound/soc/fsl/fsl_micfil.c
+++ b/sound/soc/fsl/fsl_micfil.c
@@ -617,6 +617,7 @@ static bool fsl_micfil_volatile_reg(struct device *dev, unsigned int reg)
{
switch (reg) {
case REG_MICFIL_CTRL1:
+ case REG_MICFIL_STAT:
case REG_MICFIL_DATACH0:
case REG_MICFIL_DATACH1:
case REG_MICFIL_DATACH2: