diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-21 18:53:51 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-21 19:17:50 +0100 |
commit | dee9cec42fc9cc4635ea2f45939e443210a638f8 (patch) | |
tree | 4dc001051580be8355f678f64879d0242c39cd63 /sound/soc/codecs/adau17x1.h | |
parent | ASoC: adau1701: Implement sigmadsp safeload (diff) | |
download | linux-dee9cec42fc9cc4635ea2f45939e443210a638f8.tar.xz linux-dee9cec42fc9cc4635ea2f45939e443210a638f8.zip |
ASoC: adau17x1: Mark DSP parameter memory as readable and precious
To be able to read back data from the DSP parameter memory the register
range needs to be marked as readable. At the same time we do not want them
to e.g. appear in debugfs output so mark them as precious as well.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/adau17x1.h')
-rw-r--r-- | sound/soc/codecs/adau17x1.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/adau17x1.h b/sound/soc/codecs/adau17x1.h index 6861aa3aec02..e13583e6ff56 100644 --- a/sound/soc/codecs/adau17x1.h +++ b/sound/soc/codecs/adau17x1.h @@ -56,6 +56,7 @@ int adau17x1_set_micbias_voltage(struct snd_soc_codec *codec, enum adau17x1_micbias_voltage micbias); bool adau17x1_readable_register(struct device *dev, unsigned int reg); bool adau17x1_volatile_register(struct device *dev, unsigned int reg); +bool adau17x1_precious_register(struct device *dev, unsigned int reg); int adau17x1_resume(struct snd_soc_codec *codec); extern const struct snd_soc_dai_ops adau17x1_dai_ops; |