Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170266
b: refs/heads/master
c: 7162385
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Sep 28, 2009
1 parent 3cc3ef2 commit 64f33c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 08d7a253e40db5a3b082bd7409b5f2c4f2184e59
refs/heads/master: 71623855e20c3febebb5fa60528cde2592678bd5
16 changes: 8 additions & 8 deletions trunk/sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static int bdl_pos_adj[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1};
static int probe_mask[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1};
static int probe_only[SNDRV_CARDS];
static int single_cmd;
static int enable_msi;
static int enable_msi = -1;
#ifdef CONFIG_SND_HDA_PATCH_LOADER
static char *patch[SNDRV_CARDS];
#endif
Expand Down Expand Up @@ -2300,22 +2300,22 @@ static void __devinit check_probe_mask(struct azx *chip, int dev)
}

/*
* white-list for enable_msi
* white/black-list for enable_msi
*/
static struct snd_pci_quirk msi_white_list[] __devinitdata = {
SND_PCI_QUIRK(0x103c, 0x30f7, "HP Pavilion dv4t-1300", 1),
SND_PCI_QUIRK(0x103c, 0x3607, "HP Compa CQ40", 1),
static struct snd_pci_quirk msi_black_list[] __devinitdata = {
{}
};

static void __devinit check_msi(struct azx *chip)
{
const struct snd_pci_quirk *q;

chip->msi = enable_msi;
if (chip->msi)
if (enable_msi >= 0) {
chip->msi = !!enable_msi;
return;
q = snd_pci_quirk_lookup(chip->pci, msi_white_list);
}
chip->msi = 1; /* enable MSI as default */
q = snd_pci_quirk_lookup(chip->pci, msi_black_list);
if (q) {
printk(KERN_INFO
"hda_intel: msi for device %04x:%04x set to %d\n",
Expand Down

0 comments on commit 64f33c4

Please sign in to comment.