summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra20_ac97.h
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2014-07-08 16:08:40 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2014-07-08 16:08:40 +0200
commitf162e88fc6aac0fef03c49c1ac596995a03ff134 (patch)
tree51b3a6143734f5a06469c11ae45f34e1faeaaf54 /sound/soc/tegra/tegra20_ac97.h
parentd9920889422e45f0147e3d4caa0b74d03563faa1 (diff)
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.
Diffstat (limited to 'sound/soc/tegra/tegra20_ac97.h')
-rw-r--r--sound/soc/tegra/tegra20_ac97.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra20_ac97.h b/sound/soc/tegra/tegra20_ac97.h
index 430ecc1..027f717 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 {