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

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

Merge "ASoC: codecs: Skip bandwidth voting for I2C interface"

parents 93cbbbba 68feb6c9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -11963,6 +11963,10 @@ static int tasha_codec_vote_max_bw(struct snd_soc_codec *codec,
			bool vote)
{
	u32 bw_ops;
	struct tasha_priv *tasha = snd_soc_codec_get_drvdata(codec);

	if (tasha->intf_type == WCD9XXX_INTERFACE_TYPE_I2C)
		return 0;

	if (vote)
		bw_ops = SLIM_BW_CLK_GEAR_9;