diff options
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_auto_parser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_auto_parser.c b/sound/pci/hda/hda_auto_parser.c index 3cf913772e9b..b684c6e4f301 100644 --- a/sound/pci/hda/hda_auto_parser.c +++ b/sound/pci/hda/hda_auto_parser.c | |||
@@ -844,8 +844,7 @@ static bool pin_config_match(struct hda_codec *codec, | |||
844 | { | 844 | { |
845 | for (; pins->nid; pins++) { | 845 | for (; pins->nid; pins++) { |
846 | u32 def_conf = snd_hda_codec_get_pincfg(codec, pins->nid); | 846 | u32 def_conf = snd_hda_codec_get_pincfg(codec, pins->nid); |
847 | u32 mask = 0xffffff00; | 847 | if (pins->val != def_conf) |
848 | if ((pins->val & mask) != (def_conf & mask)) | ||
849 | return false; | 848 | return false; |
850 | } | 849 | } |
851 | return true; | 850 | return true; |