ALSA: hda - Fix a typo in the previous patch

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, June 12, 2009 - 12:03 pm

Gitweb:     http://git.kernel.org/linus/8a933ece41a59ce077eeffe5b9bf08b14d173c58
Commit:     8a933ece41a59ce077eeffe5b9bf08b14d173c58
Parent:     ba84bfcd2b6fdc5a9ac53a4ab103088c99f84a12
Author:     Takashi Iwai <tiwai@suse.de>
AuthorDate: Sun May 31 09:28:12 2009 +0200
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Sun May 31 09:28:12 2009 +0200

    ALSA: hda - Fix a typo in the previous patch
    
    ICH6_GCTL_RESET was wrongly set to another bit by the commit
    b21fadb9c1852c91622ca1dccfeb144bc535e36e.  This caused a problem when
    the codec needs really a reset (e.g. recovering from the communication
    error at probe).
    
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/pci/hda/hda_intel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index f63bc65..b063d0e 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -148,7 +148,7 @@ MODULE_DESCRIPTION("Intel HDA driver");
 #define ICH6_REG_OUTPAY			0x04
 #define ICH6_REG_INPAY			0x06
 #define ICH6_REG_GCTL			0x08
-#define   ICH6_GCTL_RESET	(1 << 1)   /* controller reset */
+#define   ICH6_GCTL_RESET	(1 << 0)   /* controller reset */
 #define   ICH6_GCTL_FCNTRL	(1 << 1)   /* flush control */
 #define   ICH6_GCTL_UNSOL	(1 << 8)   /* accept unsol. response enable */
 #define ICH6_REG_WAKEEN			0x0c
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ALSA: hda - Fix a typo in the previous patch, Linux Kernel Mailing ..., (Fri Jun 12, 12:03 pm)