Skip to content

Commit

Permalink
hdaa: add missing break in hdac_pin_patch().
Browse files Browse the repository at this point in the history
Fixes driver attach on my Thinkpad X1 Carbon, and likely on
many other ALC family devices.

Fixes:	ef790cc
  • Loading branch information
glebius committed Aug 3, 2021
1 parent dfcaa2c commit 29b4fa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/dev/sound/pci/hda/hdaa_patches.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 29b4fa7

Please sign in to comment.