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

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

Merge "ASoC: tlv320aic3x: Fix slot width for non tdm mode playback"

parents 99fda63f d0bf7bea
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1042,8 +1042,10 @@ static int aic3x_hw_params(struct snd_pcm_substream *substream,
	int clk;
	int width = aic3x->slot_width;

	if (!width)
	if (!width) {
		width = params_width(params);
		aic3x->slot_width = width;
	}

	/* select data word length */
	data = snd_soc_read(codec, AIC3X_ASD_INTF_CTRLB) & (~(0x3 << 4));