Browse Source

ENGR00320241 ASoC: fsl_spdif: Complete the volatile register list

Not only SIS but also other read-only or write-only reigsters should be marked
as volatile register so as not to let regcache cache them. So this patch just
adds those missing registers.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
(cherry picked from commit 56ad235ba2)
isee-imx_3.14.28.y
Nicolin Chen 6 years ago
committed by Nitin Garg
parent
commit
2d0cc41947
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      sound/soc/fsl/fsl_spdif.c

+ 9
- 0
sound/soc/fsl/fsl_spdif.c View File

@ -1029,6 +1029,15 @@ static bool fsl_spdif_volatile_reg(struct device *dev, unsigned int reg)
{
switch (reg) {
case REG_SPDIF_SIS:
case REG_SPDIF_SRL:
case REG_SPDIF_SRR:
case REG_SPDIF_SRCSH:
case REG_SPDIF_SRCSL:
case REG_SPDIF_SRU:
case REG_SPDIF_SRQ:
case REG_SPDIF_STL:
case REG_SPDIF_STR:
case REG_SPDIF_SRFM:
return true;
default:
return false;


Loading…
Cancel
Save