summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_asoc_utils.h
diff options
context:
space:
mode:
authorSumit Bhattacharya <sumitb@nvidia.com>2012-04-20 15:10:59 +0530
committerSimone Willett <swillett@nvidia.com>2012-04-26 14:53:21 -0700
commit167ad9e2cb758aedaf778e6ba2c631878ff2dd68 (patch)
treecb0d0d365cd69af0f0c21aaaf897643017c6189f /sound/soc/tegra/tegra_asoc_utils.h
parentc6ef8e08914428e5c6d12fd69c1a9589e5839c14 (diff)
ASoC: Tegra: Pass snd_soc_card handle in tegra_asoc_utils_init
Change prototype of tegra_asoc_utils_init to pass snd_soc_card handle. It is needed to move common tegra machine driver codes to tegra_asoc_utils interface. Bug 968814 Change-Id: I98490ffdda51cf7d0b89adadb23c31892183bc0e Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/97914 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_asoc_utils.h')
-rw-r--r--sound/soc/tegra/tegra_asoc_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_asoc_utils.h b/sound/soc/tegra/tegra_asoc_utils.h
index 1c4e521cb4ba..512df0d54eb1 100644
--- a/sound/soc/tegra/tegra_asoc_utils.h
+++ b/sound/soc/tegra/tegra_asoc_utils.h
@@ -31,6 +31,7 @@ struct device;
struct tegra_asoc_utils_data {
struct device *dev;
+ struct snd_soc_card *card;
struct clk *clk_pll_a;
struct clk *clk_pll_a_out0;
struct clk *clk_cdev1;
@@ -47,7 +48,7 @@ int tegra_asoc_utils_set_rate(struct tegra_asoc_utils_data *data, int srate,
void tegra_asoc_utils_lock_clk_rate(struct tegra_asoc_utils_data *data,
int lock);
int tegra_asoc_utils_init(struct tegra_asoc_utils_data *data,
- struct device *dev);
+ struct device *dev, struct snd_soc_card *card);
void tegra_asoc_utils_fini(struct tegra_asoc_utils_data *data);
int tegra_asoc_utils_clk_enable(struct tegra_asoc_utils_data *data);
int tegra_asoc_utils_clk_disable(struct tegra_asoc_utils_data *data);