]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: tegra210_ahub: Add check to of_device_get_match_data()
authorYuanjun Gong <ruc_gongyuanjun@163.com>
Tue, 13 May 2025 12:37:44 +0000 (20:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:05:28 +0000 (11:05 +0100)
commit82608027b6e7b7f3cf004340fae6bbba85d7d01b
tree518ef65054a6fe07e41db69b35a49b7b180e1b01
parent64cc1a4a44409fc21ae293d9870f4dc0a32de296
ASoC: tegra210_ahub: Add check to of_device_get_match_data()

[ Upstream commit 04cb269c204398763a620d426cbee43064854000 ]

In tegra_ahub_probe(), check the result of function
of_device_get_match_data(), return an error code in case it fails.

Signed-off-by: Yuanjun Gong <ruc_gongyuanjun@163.com>
Link: https://patch.msgid.link/20250513123744.3041724-1-ruc_gongyuanjun@163.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/tegra/tegra210_ahub.c