Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293099
b: refs/heads/master
c: 5803a32
h: refs/heads/master
i:
  293097: dd1f5e9
  293095: d9094c1
v: v3
  • Loading branch information
Takashi Iwai committed Feb 21, 2012
1 parent 440f08f commit 2af01a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 164f73ee93131f67a61eaca6a6f6180580c39445
refs/heads/master: 5803a326465e38ee3cab8badbd8947732a8277f5
3 changes: 3 additions & 0 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ static int alc_mux_select(struct hda_codec *codec, unsigned int adc_idx,
int i, type, num_conns;
hda_nid_t nid;

if (!spec->input_mux)
return 0;

mux_idx = adc_idx >= spec->num_mux_defs ? 0 : adc_idx;
imux = &spec->input_mux[mux_idx];
if (!imux->num_items && mux_idx > 0)
Expand Down

0 comments on commit 2af01a0

Please sign in to comment.