mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
ASoC: tegra-alt: Unblock T210 SPDIF CIF setting
This change is for T210 SPDIF driver to be able to program CIF register so we can test SPDIF driver in T210. Bug 1442940 Change-Id: I529cb49e9b6c09a064d3ea1dbf3746cb34f0c5f4 Signed-off-by: Songhee Baek <sbaek@nvidia.com> Reviewed-on: http://git-master/r/421743 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Arun Shamanna Lakshmi <aruns@nvidia.com> Reviewed-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
This commit is contained in:
committed by
Sameer Pujar
parent
9efe03d6de
commit
0c17f1f661
@@ -140,7 +140,6 @@ static int tegra210_spdif_hw_params(struct snd_pcm_substream *substream,
|
|||||||
struct snd_pcm_hw_params *params,
|
struct snd_pcm_hw_params *params,
|
||||||
struct snd_soc_dai *dai)
|
struct snd_soc_dai *dai)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_MACH_GRENADA
|
|
||||||
struct device *dev = dai->dev;
|
struct device *dev = dai->dev;
|
||||||
struct tegra210_spdif *spdif = snd_soc_dai_get_drvdata(dai);
|
struct tegra210_spdif *spdif = snd_soc_dai_get_drvdata(dai);
|
||||||
int channels, audio_bits, bit_mode;
|
int channels, audio_bits, bit_mode;
|
||||||
@@ -186,7 +185,7 @@ static int tegra210_spdif_hw_params(struct snd_pcm_substream *substream,
|
|||||||
TEGRA210_SPDIF_CIF_RXD_CTRL,
|
TEGRA210_SPDIF_CIF_RXD_CTRL,
|
||||||
&cif_conf);
|
&cif_conf);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user