Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216665
b: refs/heads/master
c: fa4968a
h: refs/heads/master
i:
  216663: 0093e63
v: v3
  • Loading branch information
Takashi Iwai committed Aug 30, 2010
1 parent 0f511ee commit 71e8957
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e042e71325eeda03636aedfde6f2d27d6332188
refs/heads/master: fa4968a8b231816d161583e604a9f972e5713f17
9 changes: 5 additions & 4 deletions trunk/sound/pci/hda/patch_ca0110.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,13 +468,14 @@ static void parse_input(struct hda_codec *codec)
spec->dig_in = nid;
continue;
}
for (j = 0; j < AUTO_PIN_LAST; j++)
if (cfg->input_pins[j] == pin)
for (j = 0; j < cfg->num_inputs; j++)
if (cfg->inputs[j].pin == pin)
break;
if (j >= AUTO_PIN_LAST)
if (j >= cfg->num_inputs)
continue;
spec->input_pins[n] = pin;
spec->input_labels[n] = auto_pin_cfg_labels[j];
spec->input_labels[n] =
auto_pin_cfg_labels[cfg->inputs[j].type];
spec->adcs[n] = nid;
n++;
}
Expand Down

0 comments on commit 71e8957

Please sign in to comment.