Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Claudiu Beznea and committed by
Mark Brown
84125695 9d4f9f6a

+1 -2
+1 -2
sound/soc/codecs/da7213.c
··· 2230 2230 if (ret < 0) 2231 2231 return ret; 2232 2232 regcache_cache_only(da7213->regmap, false); 2233 - regcache_sync(da7213->regmap); 2234 - return 0; 2233 + return regcache_sync(da7213->regmap); 2235 2234 } 2236 2235 2237 2236 static const struct dev_pm_ops da7213_pm = {