projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d4f9f6
)
ASoC: da7213: Return directly the value of regcache_sync()
author
Claudiu Beznea
<claudiu.beznea.uj@bp.renesas.com>
Wed, 6 Nov 2024 08:18:18 +0000
(10:18 +0200)
committer
Mark Brown
<broonie@kernel.org>
Wed, 6 Nov 2024 21:14:30 +0000
(21:14 +0000)
Return directly the value of the regcache_sync() in
da7213_runtime_resume(). In case of any failures this will inform the
runtime resume process.
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link:
https://patch.msgid.link/20241106081826.1211088-24-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7213.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/da7213.c
b/sound/soc/codecs/da7213.c
index 486db60bf2dd1492ac37b6aa28403843d0f78aa8..4298ca77fa30fab988b31c048ea0d2aded44928c 100644
(file)
--- a/
sound/soc/codecs/da7213.c
+++ b/
sound/soc/codecs/da7213.c
@@
-2230,8
+2230,7
@@
static int __maybe_unused da7213_runtime_resume(struct device *dev)
if (ret < 0)
return ret;
regcache_cache_only(da7213->regmap, false);
- regcache_sync(da7213->regmap);
- return 0;
+ return regcache_sync(da7213->regmap);
}
static const struct dev_pm_ops da7213_pm = {