diff options
author | Alexander Martinz <amartinz@shiftphones.com> | 2022-09-20 13:50:14 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-20 19:08:24 +0100 |
commit | 9b9def51e1a6de6cd336ae08884f580ebab7d2b2 (patch) | |
tree | cf317cf09e47f5da3cf4326627fcb7441c00baef /sound/soc/codecs/tfa989x.c | |
parent | Support for CS42L83 on Apple machines (diff) | |
download | wireguard-linux-9b9def51e1a6de6cd336ae08884f580ebab7d2b2.tar.xz wireguard-linux-9b9def51e1a6de6cd336ae08884f580ebab7d2b2.zip |
ASoC: codecs: tfa989x: fix register access comments
Fix comments regarding register access based on review feedback[1].
[1]: https://lore.kernel.org/all/YppQ7BiqlBDMNsuc@gerhold.net/
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Link: https://lore.kernel.org/r/20220920115014.952062-1-amartinz@shiftphones.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tfa989x.c')
-rw-r--r-- | sound/soc/codecs/tfa989x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/tfa989x.c b/sound/soc/codecs/tfa989x.c index 1c27429b9af6..b853507e65a8 100644 --- a/sound/soc/codecs/tfa989x.c +++ b/sound/soc/codecs/tfa989x.c @@ -193,7 +193,7 @@ static int tfa9890_init(struct regmap *regmap) { int ret; - /* unhide keys to allow updating them */ + /* temporarily allow access to hidden registers */ ret = regmap_write(regmap, TFA989X_HIDE_UNHIDE_KEY, 0x5a6b); if (ret) return ret; @@ -203,7 +203,7 @@ static int tfa9890_init(struct regmap *regmap) if (ret) return ret; - /* hide keys again */ + /* hide registers again */ ret = regmap_write(regmap, TFA989X_HIDE_UNHIDE_KEY, 0x0000); if (ret) return ret; |