Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276557
b: refs/heads/master
c: cce4aa3
h: refs/heads/master
i:
  276555: 1df4130
v: v3
  • Loading branch information
Takashi Iwai committed Dec 2, 2011
1 parent ff0ad17 commit 81a195b
Show file tree
Hide file tree
Showing 2 changed files with 3 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: fc084e0b930d546872ab23667052499f7daf0fed
refs/heads/master: cce4aa378a049f4275416ee6302dd24f37b289df
2 changes: 2 additions & 0 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ static int alc_mux_select(struct hda_codec *codec, unsigned int adc_idx,
imux = &spec->input_mux[mux_idx];
if (!imux->num_items && mux_idx > 0)
imux = &spec->input_mux[0];
if (!imux->num_items)
return 0;

if (idx >= imux->num_items)
idx = imux->num_items - 1;
Expand Down

0 comments on commit 81a195b

Please sign in to comment.