Merge branch 'topic/hda-fix' into for-next
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / sound / pci / hda / hda_generic.c
index 557ecfcad1582462be3a4789f043652fa912b79b..28e265a88383d3266b7fca8a4ae80dd2146dac0a 100644 (file)
@@ -3216,6 +3216,7 @@ static int check_dyn_adc_switch(struct hda_codec *codec)
                                                spec->input_paths[i][nums]);
                                        spec->input_paths[i][nums] =
                                                spec->input_paths[i][n];
+                                       spec->input_paths[i][n] = 0;
                                }
                        }
                        nums++;