mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Revert "ASoC: tegra: Fix coverity issue"
This reverts commit b284ab0c11.
Reason for revert: Null pointer exception during boot l4t k515 concord
bug 3990297
Change-Id: I8354b0dc28e88aa3c23adfdce84fa5cb96f88fdb
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2859511
Reviewed-by: Akhil R <akhilrajeev@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
8c3deebf44
commit
35c308a22c
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* tegra_asoc_machine.c - Tegra DAI links parser
|
* tegra_asoc_machine.c - Tegra DAI links parser
|
||||||
*
|
*
|
||||||
* Copyright (c) 2014-2023 NVIDIA CORPORATION. All rights reserved.
|
* Copyright (c) 2014-2022 NVIDIA CORPORATION. All rights reserved.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -501,10 +501,8 @@ static int parse_dt_dai_links(struct snd_soc_card *card,
|
|||||||
asoc_simple_canonicalize_platform(dai_link->platforms,
|
asoc_simple_canonicalize_platform(dai_link->platforms,
|
||||||
dai_link->cpus);
|
dai_link->cpus);
|
||||||
|
|
||||||
if (of_property_read_u32(link_node, "link-type",
|
of_property_read_u32(link_node, "link-type",
|
||||||
&link_type) < 0)
|
&link_type);
|
||||||
goto cleanup;
|
|
||||||
|
|
||||||
switch (link_type) {
|
switch (link_type) {
|
||||||
case PCM_LINK:
|
case PCM_LINK:
|
||||||
dai_link->ops = pcm_ops;
|
dai_link->ops = pcm_ops;
|
||||||
|
|||||||
Reference in New Issue
Block a user