summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-17 13:29:03 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-20 11:27:58 -0500
commitbd1dd8856998408dd72768930958ea2dc84296a9 (patch)
treee2911e85aae2a15c6036c466f35530de7dcf10ca /sound/soc/codecs/arizona.c
parenta64cbb949a18a8eefc40881e6e68734ca7275d36 (diff)
downloadblackbird-op-linux-bd1dd8856998408dd72768930958ea2dc84296a9.tar.gz
blackbird-op-linux-bd1dd8856998408dd72768930958ea2dc84296a9.zip
ASoC: arizona: Provide simple DAI ops for autoconfiguring interfaces
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/arizona.c')
-rw-r--r--sound/soc/codecs/arizona.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index 389f23253831..de625813c0e6 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -1198,6 +1198,13 @@ const struct snd_soc_dai_ops arizona_dai_ops = {
};
EXPORT_SYMBOL_GPL(arizona_dai_ops);
+const struct snd_soc_dai_ops arizona_simple_dai_ops = {
+ .startup = arizona_startup,
+ .hw_params = arizona_hw_params_rate,
+ .set_sysclk = arizona_dai_set_sysclk,
+};
+EXPORT_SYMBOL_GPL(arizona_simple_dai_ops);
+
int arizona_init_dai(struct arizona_priv *priv, int id)
{
struct arizona_dai_priv *dai_priv = &priv->dai[id];
OpenPOWER on IntegriCloud