diff options
author | Shuming Fan <[email protected]> | 2022-06-21 17:07:19 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-24 16:21:57 +0100 |
commit | 1df793d479bef546569fc2e409ff8bb3f0fb8e99 (patch) | |
tree | 3197f3271e9fd7be1f1c9d8e85b75fc26ec99cb6 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | c6a5f22f9b4fd5f21414be690ce34046d9712f05 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions