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

Commit f29cbeb2 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents b4aaabfb 709a3366
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1044,8 +1044,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));