]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMark Brown <broonie@kernel.org>
Wed, 14 May 2025 07:47:36 +0000 (09:47 +0200)
commit04cb269c204398763a620d426cbee43064854000
tree70abc7297d2b5fd5bcb5c450e08ad46a52e13ebc
parent85f8c2d56caf56aa3379bbc5f1a19fef9aabd23e
ASoC: tegra210_ahub: Add check to of_device_get_match_data()

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>
sound/soc/tegra/tegra210_ahub.c