summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/mediatek
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2022-06-21 11:07:19 +0200
committerMark Brown <broonie@kernel.org>2022-06-21 14:15:33 +0200
commitf69a10f84cb5ff0b1c6aef0e19e866bbe53ec7ea (patch)
treee793185a39fd67f0df1a1b60b534250b3dbaa057 /sound/soc/sof/mediatek
parentASoC: cs35l41: Correct some control names (diff)
downloadlinux-f69a10f84cb5ff0b1c6aef0e19e866bbe53ec7ea.tar.xz
linux-f69a10f84cb5ff0b1c6aef0e19e866bbe53ec7ea.zip
ASoC: rt711-sdca: fix kernel NULL pointer dereference when IO error
The initial settings will be written before the codec probe function. But, the rt711->component doesn't be assigned yet. If IO error happened during initial settings operations, it will cause the kernel panic. This patch changed component->dev to slave->dev to fix this issue. Signed-off-by: Shuming Fan <shumingf@realtek.com> Link: https://lore.kernel.org/r/20220621090719.30558-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/mediatek')
0 files changed, 0 insertions, 0 deletions