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

Unverified Commit 3831a5b8 authored by Ryan Lee's avatar Ryan Lee Committed by Mark Brown
Browse files

ASoC: max98373: Added TDM off if parameters are all zeroes

parent e1053262
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -311,6 +311,9 @@ static int max98373_dai_tdm_slot(struct snd_soc_dai *dai,
	unsigned int mask;
	int x, slot_found;

	if (!tx_mask && !rx_mask && !slots && !slot_width)
		max98373->tdm_mode = false;
	else
		max98373->tdm_mode = true;

	/* BCLK configuration */