From 7d7965cba92269000fc57f7be52fd0231dc083b3 Mon Sep 17 00:00:00 2001 From: Vinod Koul Date: Sat, 20 Jul 2013 12:00:38 +0530 Subject: [PATCH] compress: fix the typo in compress_get_alsa_rate() Reported-by: Ravi Signed-off-by: Vinod Koul --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.c b/utils.c index fa37f23..a835bef 100644 --- a/utils.c +++ b/utils.c @@ -72,7 +72,7 @@ unsigned int compress_get_alsa_rate(unsigned int rate) return SNDRV_PCM_RATE_11025; case 16000: return SNDRV_PCM_RATE_16000; - case 220500: + case 22050: return SNDRV_PCM_RATE_22050; case 32000: return SNDRV_PCM_RATE_32000; -- 2.47.3