Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275980
b: refs/heads/master
c: e2301a4
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Nov 23, 2011
1 parent 82c9a87 commit 0e839dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a370fc62b9ad3f73abe2a721de6c03cdcce95b54
refs/heads/master: e2301a4de22c438f5a962c7cefc3e9cba736991c
6 changes: 3 additions & 3 deletions trunk/sound/pci/hda/hda_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -4046,9 +4046,9 @@ int snd_hda_check_board_codec_sid_config(struct hda_codec *codec,

/* Search for codec ID */
for (q = tbl; q->subvendor; q++) {
unsigned long vendorid = (q->subdevice) | (q->subvendor << 16);

if (vendorid == codec->subsystem_id)
unsigned int mask = 0xffff0000 | q->subdevice_mask;
unsigned int id = (q->subdevice | (q->subvendor << 16)) & mask;
if ((codec->subsystem_id & mask) == id)
break;
}

Expand Down

0 comments on commit 0e839dc

Please sign in to comment.