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

Commit 15cbd5cd 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: Fix slim_tx port configuration for wcd9335"

parents 785fd5e6 15ad81ef
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2372,9 +2372,9 @@ static int slim_tx_mixer_put(struct snd_kcontrol *kcontrol,
	mutex_lock(&tasha_p->codec_mutex);

	if (tasha_p->intf_type == WCD9XXX_INTERFACE_TYPE_SLIMBUS) {
		if (dai_id != AIF1_CAP) {
			dev_err(codec->dev, "%s: invalid AIF for Slimbus mode\n",
				__func__);
		if (dai_id >= ARRAY_SIZE(vport_slim_check_table)) {
			dev_err(codec->dev, "%s: dai_id: %d, out of bounds\n",
				__func__, dai_id);
			mutex_unlock(&tasha_p->codec_mutex);
			return -EINVAL;
		}