Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4ee72717188767b127b22f7a582762b71d448408
Commit:     4ee72717188767b127b22f7a582762b71d448408
Parent:     3042ef75203947920adc0ab7ae25bc62a1fec978
Author:     Clemens Ladisch <[EMAIL PROTECTED]>
AuthorDate: Mon Sep 17 09:37:19 2007 +0200
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 16:50:30 2007 +0200

    [ALSA] cmipci: initialize 0x90 registers
    
    Initialize the registers at 0x90 and 0x91 with some undocumented values.
    
    Signed-off-by: Clemens Ladisch <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/pci/cmipci.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c
index 8c5c843..c33c1c7 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);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to