summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_asoc_utils.h
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2012-12-20 03:17:33 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-24 19:59:10 +0400
commit919ad49c214adcc80578c7a02efd3fe8460e0797 (patch)
tree048b7f4d0ffa880bf1adfd288db96ee12c3b0872 /sound/soc/tegra/tegra_asoc_utils.h
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff)
downloadlinux-919ad49c214adcc80578c7a02efd3fe8460e0797.tar.xz
ASoC: tegra: add function to set ac97 rate
AC97 uses a fixed rate, unrelated to the sample rate. Add a function to make the setup more trivial. Signed-off-by: Lucas Stach <dev@lynxeye.de> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/tegra/tegra_asoc_utils.h')
-rw-r--r--sound/soc/tegra/tegra_asoc_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_asoc_utils.h b/sound/soc/tegra/tegra_asoc_utils.h
index 44db1dbb8f21..974c9f8830f9 100644
--- a/sound/soc/tegra/tegra_asoc_utils.h
+++ b/sound/soc/tegra/tegra_asoc_utils.h
@@ -43,6 +43,7 @@ struct tegra_asoc_utils_data {
int tegra_asoc_utils_set_rate(struct tegra_asoc_utils_data *data, int srate,
int mclk);
+int tegra_asoc_utils_set_ac97_rate(struct tegra_asoc_utils_data *data);
int tegra_asoc_utils_init(struct tegra_asoc_utils_data *data,
struct device *dev);
void tegra_asoc_utils_fini(struct tegra_asoc_utils_data *data);