ASoC: samsung: odroid: Drop sample rates that cannot be supported from hw_params()

The I2S controller can handle sample rates only up to 96000 and the CPU DAI
has already related constraint set so drop the impossible 176400, 192000
switch cases.

Signed-off-by: Sylwester Nawrocki <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
Sylwester Nawrocki 2018-03-14 17:41:14 +01:00 • committed by Mark Brown
commit 23952006ac
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0

View file

@ -46,14 +46,12 @@ static int odroid_card_hw_params(struct snd_pcm_substream *substream,
break;
case 44100:
case 88200:
case 176400:
pll_freq = 180633609U;
rfs = 512;
break;
case 32000:
case 48000:
case 96000:
case 192000:
pll_freq = 196608001U;
rfs = 512;
break;