projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f27530
)
ASoC: codecs: tfa989x: fix register access comments
author
Alexander Martinz
<amartinz@shiftphones.com>
Tue, 20 Sep 2022 11:50:14 +0000
(13:50 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 20 Sep 2022 18:08:24 +0000
(19:08 +0100)
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>
sound/soc/codecs/tfa989x.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tfa989x.c
b/sound/soc/codecs/tfa989x.c
index 1c27429b9af646d61daa4f81f4dcfe3d1a67fae8..b853507e65a846e9361d0294ed798052eb747c20 100644
(file)
--- 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
key
s again */
+ /* hide
register
s again */
ret = regmap_write(regmap, TFA989X_HIDE_UNHIDE_KEY, 0x0000);
if (ret)
return ret;