]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra30: ahub: Fix incorrect usage of of_device_get_match_data
authorAakash Hemadri <aakashhemadri123@gmail.com>
Mon, 16 Aug 2021 21:14:51 +0000 (02:44 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 17 Aug 2021 12:34:59 +0000 (13:34 +0100)
commitf5512b6448fe84d22444a00f4f9ecc2fd632ada1
tree5851a5a4849d1109123555eeacae8936c616ad96
parentd9f841f0aa022c9f1eab80d4f22ddc9efa9c9302
ASoC: tegra30: ahub: Fix incorrect usage of of_device_get_match_data

const struct of_device_id incorrectly assigned "match->data" using
of_device_get_match_data()

Instead assign `const struct tegra30_ahub_soc_data *soc_data` with
const void *of_device_get_match_data(...)

Fixes: 2643ffe39108 ("ASoC: tegra30: ahub: Use of_device_get_match_data")
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
Link: https://lore.kernel.org/r/bb61c41f2ee0cf0d85fecdfea05f23a7205992e6.1629148177.git.aakashhemadri123@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra30_ahub.c