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

Commit 833a97b9 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: Sync codec registers while reading temperature"

parents b1f2812e 57aec3e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -921,8 +921,8 @@ static int32_t wsa881x_temp_reg_read(struct snd_soc_codec *codec,
				__func__, devnum, dev->addr);
			return -EINVAL;
		}
		regcache_sync(wsa881x->regmap);
	}
	regcache_sync(wsa881x->regmap);
	wsa881x_resource_acquire(codec, ENABLE);

	snd_soc_update_bits(codec, WSA881X_TEMP_OP, 0x04, 0x04);