aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index e230947cd3fe..371d1e418d53 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -958,7 +958,7 @@ static bool alc_check_dyn_adc_switch(struct hda_codec *codec)
958 break; 958 break;
959 } 959 }
960 if (i >= imux->num_items) 960 if (i >= imux->num_items)
961 return false; /* no ADC-switch is needed */ 961 return true; /* no ADC-switch is needed */
962 } 962 }
963 963
964 for (i = 0; i < imux->num_items; i++) { 964 for (i = 0; i < imux->num_items; i++) {