mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
ASoC: tegra: Add t234 chip check in asoc util
Add t234 chip compatible check in tegra asoc util file Bug 200755886 Change-Id: Iecf59cf78c8359b86668fcbaf4bdb5bd50b49271 Signed-off-by: Mohan Kumar <mkumard@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-5.10/+/2572441 Tested-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Sameer Pujar <spujar@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Sharad Gupta <sharadg@nvidia.com> Reviewed-by: Viswanath L <viswanathl@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Sameer Pujar
parent
ae473fa8b4
commit
30b5703537
@@ -284,6 +284,8 @@ int tegra_asoc_utils_init(struct tegra_asoc_utils_data *data,
|
||||
data->soc = TEGRA_ASOC_UTILS_SOC_TEGRA186;
|
||||
else if (of_machine_is_compatible("nvidia,tegra194"))
|
||||
data->soc = TEGRA_ASOC_UTILS_SOC_TEGRA194;
|
||||
else if (of_machine_is_compatible("nvidia,tegra234"))
|
||||
data->soc = TEGRA_ASOC_UTILS_SOC_TEGRA234;
|
||||
else {
|
||||
dev_err(data->dev, "SoC unknown to Tegra ASoC utils\n");
|
||||
return -EINVAL;
|
||||
|
||||
@@ -20,6 +20,7 @@ enum tegra_asoc_utils_soc {
|
||||
TEGRA_ASOC_UTILS_SOC_TEGRA210,
|
||||
TEGRA_ASOC_UTILS_SOC_TEGRA186,
|
||||
TEGRA_ASOC_UTILS_SOC_TEGRA194,
|
||||
TEGRA_ASOC_UTILS_SOC_TEGRA234,
|
||||
};
|
||||
|
||||
struct tegra_asoc_utils_data {
|
||||
|
||||
Reference in New Issue
Block a user