diff options
author | Libin Yang <[email protected]> | 2021-12-21 09:08:16 +0800 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2021-12-22 20:17:37 +0100 |
commit | 385f287f9853da402d94278e59f594501c1d1dad (patch) | |
tree | af7fd09adc9ccbc5317ce064bad5a746c405ab1f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b6fd77472dea76b7a2bad3a338ade920152972b8 (diff) |
ALSA: hda: intel-sdw-acpi: harden detection of controller
The existing code currently sets a pointer to an ACPI handle before
checking that it's actually a SoundWire controller. This can lead to
issues where the graph walk continues and eventually fails, but the
pointer was set already.
This patch changes the logic so that the information provided to
the caller is set when a controller is found.
Reviewed-by: Péter Ujfalusi <[email protected]>
Signed-off-by: Libin Yang <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions