* [PATCH] ALSA: hda - New VIA controller suppor no-snoop path
@ 2018-04-16 9:48 ` David Wang
0 siblings, 0 replies; 4+ messages in thread
From: David Wang @ 2018-04-16 9:48 UTC (permalink / raw)
To: perex, tiwai, vinod.koul, Vijendar.Mukunda, subhransu.s.prusty,
linux-kernel, alsa-devel
Cc: brucechang, cooperyan, qiyuanwang, benjaminpan, lukelin, timguo,
David Wang
This patch is used to tell kernel that new VIA HDAC controller also
support no-snoop path.
Signed-off-by: David Wang <davidwang@zhaoxin.com>
---
sound/pci/hda/hda_intel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 96143df..439e8e9 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -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;
}
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ALSA: hda - New VIA controller suppor no-snoop path
@ 2018-04-16 9:48 ` David Wang
0 siblings, 0 replies; 4+ messages in thread
From: David Wang @ 2018-04-16 9:48 UTC (permalink / raw)
To: perex, tiwai, vinod.koul, Vijendar.Mukunda, subhransu.s.prusty,
linux-kernel, alsa-devel
Cc: brucechang, cooperyan, qiyuanwang, benjaminpan, lukelin, timguo,
David Wang
This patch is used to tell kernel that new VIA HDAC controller also
support no-snoop path.
Signed-off-by: David Wang <davidwang@zhaoxin.com>
---
sound/pci/hda/hda_intel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 96143df..439e8e9 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -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;
}
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ALSA: hda - New VIA controller suppor no-snoop path
2018-04-16 9:48 ` David Wang
@ 2018-04-16 11:57 ` Takashi Iwai
-1 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2018-04-16 11:57 UTC (permalink / raw)
To: David Wang
Cc: alsa-devel, Vijendar.Mukunda, subhransu.s.prusty, vinod.koul,
perex, linux-kernel, brucechang, lukelin, benjaminpan, cooperyan,
qiyuanwang, timguo
On Mon, 16 Apr 2018 11:48:09 +0200,
David Wang wrote:
>
> This patch is used to tell kernel that new VIA HDAC controller also
> support no-snoop path.
>
> Signed-off-by: David Wang <davidwang@zhaoxin.com>
Applied now. Thanks.
Takashi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ALSA: hda - New VIA controller suppor no-snoop path
@ 2018-04-16 11:57 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2018-04-16 11:57 UTC (permalink / raw)
To: David Wang
Cc: alsa-devel, Vijendar.Mukunda, subhransu.s.prusty, vinod.koul,
perex, linux-kernel, brucechang, lukelin, benjaminpan, cooperyan,
qiyuanwang, timguo
On Mon, 16 Apr 2018 11:48:09 +0200,
David Wang wrote:
>
> This patch is used to tell kernel that new VIA HDAC controller also
> support no-snoop path.
>
> Signed-off-by: David Wang <davidwang@zhaoxin.com>
Applied now. Thanks.
Takashi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-04-16 11:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-16 9:48 [PATCH] ALSA: hda - New VIA controller suppor no-snoop path David Wang
2018-04-16 9:48 ` David Wang
2018-04-16 11:57 ` Takashi Iwai
2018-04-16 11:57 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.