Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Aug 2021 10:11:15 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 29b4fa787621 - main - hdaa: add missing break in hdac_pin_patch().
Message-ID:  <202108031011.173ABF3N005488@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=29b4fa787621cbfb070323ecf2ea2da4d372bd94

commit 29b4fa787621cbfb070323ecf2ea2da4d372bd94
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2021-08-03 10:06:16 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2021-08-03 10:09:32 +0000

    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
---
 sys/dev/sound/pci/hda/hdaa_patches.c | 1 +
 1 file changed, 1 insertion(+)

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];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108031011.173ABF3N005488>