From 2c5128e5f8f4e00d5c9d45b0c477f42fb393b856 Mon Sep 17 00:00:00 2001 From: Mohan Kumar Date: Fri, 8 Jul 2016 16:54:01 +0530 Subject: [PATCH] ASoC: tegra-alt: support all APE interfaces Driver support for all the APE interfaces. Also cleanup the machine driver code. Bug 1782976 Change-Id: Ifdaa3b19de661afd5231d9bface6fc9547f0eb3c Signed-off-by: Mohan Kumar Reviewed-on: http://git-master/r/1177588 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Viswanath L GVS: Gerrit_Virtual_Submit Reviewed-by: Ravindra Lokhande --- sound/soc/tegra-alt/tegra186_dspk_alt.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/tegra-alt/tegra186_dspk_alt.c b/sound/soc/tegra-alt/tegra186_dspk_alt.c index 2f40a635..0c2d111d 100644 --- a/sound/soc/tegra-alt/tegra186_dspk_alt.c +++ b/sound/soc/tegra-alt/tegra186_dspk_alt.c @@ -136,6 +136,12 @@ static int tegra186_dspk_set_audio_cif(struct tegra186_dspk *dspk, return 0; } +static int tegra186_dspk_set_dai_bclk_ratio(struct snd_soc_dai *dai, + unsigned int ratio) +{ + return 0; +} + static int tegra186_dspk_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) @@ -192,6 +198,7 @@ static int tegra186_dspk_codec_probe(struct snd_soc_codec *codec) static struct snd_soc_dai_ops tegra186_dspk_dai_ops = { .hw_params = tegra186_dspk_hw_params, + .set_bclk_ratio = tegra186_dspk_set_dai_bclk_ratio, }; static struct snd_soc_dai_driver tegra186_dspk_dais[] = {