Skip to contentSkip to conversation

ALSA: hda - New VIA controller suppor no-snoop path

PATCH In review David Wang 2 participants 2 messages Apr 16, 2018 Sound

lore
Share & tools
lore

David Wang

author
#0 lore raw

PATCH 1/1 ALSA: hda - New VIA controller suppor no-snoop path

This patch is used to tell kernel that new VIA HDAC controller also support no-snoop path.

---
 sound/pci/hda/hda_intel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/pci/hda/hda_intel.c +1 -1
index 96143df..439e8e9 100644
@@ -1640,7 +1640,7 @@ static void azx_check_snoop_available(struct azx *chip)
 		 */
 		u8 val;
 		pci_read_config_byte(chip->pci, 0x42, &val);
-		if (!(val & 0x80) && chip->pci->revision == 0x30)
+		if (!(val & 0x80) && (chip->pci->revision == 0x30 || chip->pci->revision == 0x20))
 			snoop = false;
 	}
 
Signature · 1 line
1.9.1