From 475c5eb90b20f3c7b7414e7b5e3028e760cb83c2 Mon Sep 17 00:00:00 2001 From: scottl Date: Fri, 28 Jun 2002 06:11:26 +0000 Subject: Fix a botched flag clear operation. Rumor has it that this also fixes the funky-volume-settings-on-startup problem. Reviewed by: the channel that shall not be named MFC after: 7 days --- sys/dev/sound/pci/maestro3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/sound/pci/maestro3.c b/sys/dev/sound/pci/maestro3.c index b38b334..16d7088 100644 --- a/sys/dev/sound/pci/maestro3.c +++ b/sys/dev/sound/pci/maestro3.c @@ -1390,7 +1390,7 @@ m3_config(struct sc_info *sc) hv_cfg = HV_BUTTON_FROM_GD; data = pci_read_config(sc->dev, PCI_ALLEGRO_CONFIG, 4); - data &= HV_BUTTON_FROM_GD; + data &= ~HV_BUTTON_FROM_GD; data |= REDUCED_DEBOUNCE | HV_CTRL_ENABLE | hv_cfg; data |= PM_CTRL_ENABLE | CLK_DIV_BY_49 | USE_PCI_TIMING; pci_write_config(sc->dev, PCI_ALLEGRO_CONFIG, data, 4); -- cgit v1.1