mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 23:20:05 +00:00
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. [ minor coding style fix by tiwai ] Signed-off-by: David Wang <davidwang@zhaoxin.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
7ecb46e9ee
commit
af52f9982e
@ -1645,7 +1645,8 @@ 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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user