]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra30: i2s: Fix incorrect usage of of_device_get_match_data
authorAakash Hemadri <aakashhemadri123@gmail.com>
Mon, 16 Aug 2021 21:14:52 +0000 (02:44 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 17 Aug 2021 12:35:00 +0000 (13:35 +0100)
commite647e7f9784c50a71f8ddad42bab6d5f8a3cd478
tree1ff7d15e8d4596ba8471ef503a155fd3058fec87
parent5c41de8d6ae7b7f80d2b6301593550c48a1c91a0
ASoC: tegra30: i2s: 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_i2s_soc_data *soc_data` with
const void *of_device_get_match_data(...)

Fixes: f7dcf7fa94ed ("ASoC: tegra30: i2s: Use of_device_get_match_data")
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
Link: https://lore.kernel.org/r/4805c7fcd35c8deada63d41cb34d40de80f85a13.1629148177.git.aakashhemadri123@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra30_i2s.c