mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
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 <mkumard@nvidia.com> Reviewed-on: http://git-master/r/1177588 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Viswanath L <viswanathl@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
This commit is contained in:
committed by
Sameer Pujar
parent
a9d4504d52
commit
2c5128e5f8
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user