diff options
| author | Takashi Iwai <tiwai@suse.de> | 2013-01-09 09:06:18 +0100 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2013-01-12 08:44:20 +0100 |
| commit | 3a65bcdc577a338712c2eaefc194909de79d4982 (patch) | |
| tree | 9bd49b65d3d4adcffbf420a5d4c71ff83a436777 /tools/perf/scripts | |
| parent | 54d778b31c98b305bf47fbbabd4107a3898ebe66 (diff) | |
ALSA: hda - Fix inconsistent input_paths after ADC reduction
In the current parser code, the input_paths[] may become inconsistent
when some of detected ADCs are dropped due to incomplete inputs, since
the driver rearranges only adc_nids[] but doesn't touch input_paths[].
This patch fixes the issue, and also it optimizes the reachability
checks by simply referring to the parsed input_paths[] instead of
calling is_reachable() again for each connection.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
