diff options
author | David Wang <davidwang@zhaoxin.com> | 2018-04-16 17:48:09 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-04-16 13:56:48 +0200 |
commit | af52f9982e410edac21ca4b49563053ffc9da1eb (patch) | |
tree | ca5f51c2ccd0da1f8cf8697ee51945a975d04483 /sound | |
parent | 7ecb46e9ee9af18e304eb9e7d6804c59a408e846 (diff) |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index ccffce068634..fece779f6260 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -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; } |