mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 02:34:10 -04:00
ASoC: da7213: Return directly the value of regcache_sync()
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>
This commit is contained in:
committed by
Mark Brown
parent
9d4f9f6a7b
commit
8412569540
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user