From f162e88fc6aac0fef03c49c1ac596995a03ff134 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Tue, 8 Jul 2014 16:08:40 +0200 Subject: asoc: tegra20_ac97: fix sampling rate The AC97 sampling rate is really fixed to 48 kHz at all times. While at it clean-up dangerous time out handling. --- sound/soc/tegra/tegra20_ac97.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sound/soc/tegra/tegra20_ac97.h') diff --git a/sound/soc/tegra/tegra20_ac97.h b/sound/soc/tegra/tegra20_ac97.h index 430ecc1500f4..027f717343a8 100644 --- a/sound/soc/tegra/tegra20_ac97.h +++ b/sound/soc/tegra/tegra20_ac97.h @@ -27,7 +27,8 @@ #define AC97_FIFO_TX 0 #define AC97_FIFO_RX 1 -#define AC97_SAMPLE_RATES SNDRV_PCM_RATE_8000_48000 +/* AC97 sample rate is really fixed */ +#define AC97_SAMPLE_RATES SNDRV_PCM_RATE_48000 /* AC97 controller */ struct tegra20_ac97 { -- cgit v1.2.3