diff options
author | Viorel Suman <viorel.suman@nxp.com> | 2020-04-30 16:34:37 +0300 |
---|---|---|
committer | Viorel Suman <viorel.suman@nxp.com> | 2020-05-01 12:45:43 +0300 |
commit | 18b2111684bf921c5b5d9fc776b0bdf6e58a4cdf (patch) | |
tree | 69997c88a80d8e61ba474beb211169876dbe4639 | |
parent | 95df66dec11f9e1822467bc2141c1094dbc5c25f (diff) |
MLK-23887: ASoC: fsl_xcvr: set regcache_cache_only true in probe
Set regmap to use regcache only in probe in order to avoid
issue on cat /sys/kernel/debug/regmap/30cc0000.xcvr/registers
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
-rw-r--r-- | sound/soc/fsl/fsl_xcvr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c index 06fba208f19e..8242bb6b963d 100644 --- a/sound/soc/fsl/fsl_xcvr.c +++ b/sound/soc/fsl/fsl_xcvr.c @@ -1195,6 +1195,7 @@ static int fsl_xcvr_probe(struct platform_device *pdev) platform_set_drvdata(pdev, xcvr); pm_runtime_enable(dev); + regcache_cache_only(xcvr->regmap, true); ret = devm_snd_soc_register_component(dev, &fsl_xcvr_comp, &fsl_xcvr_dai, 1); |