aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pci
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2021-08-03 10:06:16 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2021-08-03 10:09:32 +0000
commit29b4fa787621cbfb070323ecf2ea2da4d372bd94 (patch)
tree022b69ae682d727eb2ba758abe13010dc01445e2 /sys/dev/sound/pci
parentdfcaa2c18bf9c69b94d531364f8913b23f19505f (diff)
downloadsrc-29b4fa787621cbfb070323ecf2ea2da4d372bd94.tar.gz
src-29b4fa787621cbfb070323ecf2ea2da4d372bd94.zip
hdaa: add missing break in hdac_pin_patch().
Fixes driver attach on my Thinkpad X1 Carbon, and likely on many other ALC family devices. Fixes: ef790cc7407e827db9563d08a52a71ab36436986
Diffstat (limited to 'sys/dev/sound/pci')
-rw-r--r--sys/dev/sound/pci/hda/hdaa_patches.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c
index dc404b9ba98e..45577819e897 100644
--- a/sys/dev/sound/pci/hda/hdaa_patches.c
+++ b/sys/dev/sound/pci/hda/hdaa_patches.c
@@ -326,6 +326,7 @@ hdac_pin_patch(struct hdaa_widget *w)
switch (patch->type) {
case PIN_PATCH_TYPE_STRING:
patch_str = patch->patch.string;
+ break;
case PIN_PATCH_TYPE_MASK:
config &= ~patch->patch.mask[0];
config |= patch->patch.mask[1];