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

Commit 7add84aa authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Allow unspecified source when stopping WM8994 FLLs

parent ee839a21
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -2853,6 +2853,11 @@ static int wm8994_set_fll(struct snd_soc_dai *dai, int id, int src,
	}
	}


	switch (src) {
	switch (src) {
	case 0:
		/* Allow no source specification when stopping */
		if (freq_out)
			return -EINVAL;
		break;
	case WM8994_FLL_SRC_MCLK1:
	case WM8994_FLL_SRC_MCLK1:
	case WM8994_FLL_SRC_MCLK2:
	case WM8994_FLL_SRC_MCLK2:
	case WM8994_FLL_SRC_LRCLK:
	case WM8994_FLL_SRC_LRCLK: