diff options
| author | Jaroslav Kysela <[email protected]> | 2009-07-10 10:27:31 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2009-07-10 10:55:49 +0000 |
| commit | 9d30937accf2c01e8b0bd59787409a7348cbbcb7 (patch) | |
| tree | 6ee1c5a8e9487ca8f56d015e64dbb9cfd3ca0001 /lib/dynamic_debug.c | |
| parent | ALSA: hda - targa and targa-2ch fix (diff) | |
| download | kernel-9d30937accf2c01e8b0bd59787409a7348cbbcb7.tar.gz kernel-9d30937accf2c01e8b0bd59787409a7348cbbcb7.zip | |
ALSA: hda_intel: more strict alc880_parse_auto_config dig_nid checking
On some IbexPeak systems with ALC889A errors like "azx_get_response
timeout, switching to polling mode: last cmd=0xaf9f000b" are produced,
because non-existent codec #10 is wrongly accessed.
The problem is that snd_hda_get_connections() returns out-of-range result
for NID 0x1c (something like 0xf8f9 or 0xffff).
This patch adds a check to alc880_parse_auto_config() to avoid using
of this out-of-range NIDs. A better fix maybe to improve
snd_hda_get_connections() routine to check for valid NID ranges if
NIDs are expected as result.
Signed-off-by: Jaroslav Kysela <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
