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

Commit b91ffba3 authored by Meng Wang's avatar Meng Wang Committed by Matt Wagantall
Browse files

ASoC: wcd9335: reset RX interpolator after clock disable



Reset interpolator after disabling the interpolator clock
to clear the data buffers otherwise this could result into
click and pop after clock gets enabled.

Change-Id: Icac659eda4752e7345d457edcc0375d28fd827b5
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
parent 6c680074
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2245,6 +2245,10 @@ static int tasha_codec_enable_prim_interpolator(
		if (tasha->prim_int_users[ind] == 0) {
			snd_soc_update_bits(codec, prim_int_reg,
					1 << 0x5, 0 << 0x5);
			snd_soc_update_bits(codec, prim_int_reg,
					0x40, 0x40);
			snd_soc_update_bits(codec, prim_int_reg,
					0x40, 0x00);
		}
		break;
	};