From: Clemens Ladisch Date: Mon, 17 Sep 2007 07:37:19 +0000 (+0200) Subject: [ALSA] cmipci: initialize 0x90 registers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4ee72717188767b127b22f7a582762b71d448408;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [ALSA] cmipci: initialize 0x90 registers Initialize the registers at 0x90 and 0x91 with some undocumented values. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 8c5c843099c6..c33c1c778693 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c @@ -2986,6 +2986,10 @@ static int __devinit snd_cmipci_create(struct snd_card *card, struct pci_dev *pc #else snd_cmipci_clear_bit(cm, CM_REG_MISC_CTRL, CM_XCHGDAC); #endif + if (cm->chip_version) { + snd_cmipci_write_b(cm, CM_REG_EXT_MISC, 0x20); /* magic */ + snd_cmipci_write_b(cm, CM_REG_EXT_MISC + 1, 0x09); /* more magic */ + } /* Set Bus Master Request */ snd_cmipci_set_bit(cm, CM_REG_FUNCTRL1, CM_BREQ);