diff options
author | Pierre-Louis Bossart <[email protected]> | 2022-06-06 15:37:50 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-07 20:37:30 +0100 |
commit | 05ba4c00fa9cb077a0dd91f5e6056951a787f63c (patch) | |
tree | 1c88cb059c616be38cdc986d58d11c5dcd96991f /tools/perf/scripts/python/check-perf-trace.py | |
parent | 74d40901ebad7c466a95b1ae3c6891f1ba09786f (diff) |
ASoC: rt7*-sdw: harden jack_detect_handler
Realtek headset codec drivers typically check if the card is
instantiated before proceeding with the jack detection.
The rt700, rt711 and rt711-sdca are however missing a check on the
card pointer, which can lead to NULL dereferences encountered in
driver bind/unbind tests.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions