diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2018-03-14 17:41:14 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-19 02:43:08 +0100 |
commit | 23952006ace5a54caddcda3de6f7676dfe520e86 (patch) | |
tree | d8f9979200d49d9339f93aaf44f53710773c7fa9 /sound/soc/samsung/odroid.c | |
parent | ASoC: samsung: odroid: Fix 32000 sample rate handling (diff) | |
download | linux-23952006ace5a54caddcda3de6f7676dfe520e86.tar.xz linux-23952006ace5a54caddcda3de6f7676dfe520e86.zip |
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 <s.nawrocki@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung/odroid.c')
-rw-r--r-- | sound/soc/samsung/odroid.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/samsung/odroid.c b/sound/soc/samsung/odroid.c index e698e67f5f84..e1b59457a327 100644 --- a/sound/soc/samsung/odroid.c +++ b/sound/soc/samsung/odroid.c @@ -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; |