mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-06 13:23:18 +00:00
ASoC: loongson: remove unnecessary assignment in i2s_resume()
In this function, the assignment ret is unnecessary, thus remove it. Signed-off-by: tangbin <tangbin@cmss.chinamobile.com> Link: https://patch.msgid.link/20240903090301.6192-1-tangbin@cmss.chinamobile.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
dc70fd0240
commit
a14e932326
@ -255,13 +255,10 @@ static int i2s_suspend(struct device *dev)
|
||||
static int i2s_resume(struct device *dev)
|
||||
{
|
||||
struct loongson_i2s *i2s = dev_get_drvdata(dev);
|
||||
int ret;
|
||||
|
||||
regcache_cache_only(i2s->regmap, false);
|
||||
regcache_mark_dirty(i2s->regmap);
|
||||
ret = regcache_sync(i2s->regmap);
|
||||
|
||||
return ret;
|
||||
return regcache_sync(i2s->regmap);
|
||||
}
|
||||
|
||||
const struct dev_pm_ops loongson_i2s_pm = {
|
||||
|
Loading…
Reference in New Issue
Block a user