]> 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:07:32 +0000 (11:07 +0100)
commit857791db8d3f6d84f3f71587cdc7da3cd8443bf5
tree60a71d9d16d1a9defc4c8f0057d8a9f5368b6383
parent7a3cb3b8f1629e88d34ea1c596deb3d24188c44b
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