Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eaf2bd65 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: wsa881x: avoid regcache_sync() during playback"

parents afe61d5a 0176022a
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -989,7 +989,13 @@ static int32_t wsa881x_temp_reg_read(struct snd_soc_codec *codec,
			return -EINVAL;
		}
	}
	mutex_lock(&wsa881x->res_lock);
	if (!wsa881x->clk_cnt) {
		regcache_mark_dirty(wsa881x->regmap);
		regcache_sync(wsa881x->regmap);
	}
	mutex_unlock(&wsa881x->res_lock);

	wsa881x_resource_acquire(codec, ENABLE);

	if (WSA881X_IS_2_0(wsa881x->version)) {