Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a933ece authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix a typo in the previous patch



ICH6_GCTL_RESET was wrongly set to another bit by the commit
b21fadb9.  This caused a problem when
the codec needs really a reset (e.g. recovering from the communication
error at probe).

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent ba84bfcd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -148,7 +148,7 @@ MODULE_DESCRIPTION("Intel HDA driver");
#define ICH6_REG_OUTPAY			0x04
#define ICH6_REG_OUTPAY			0x04
#define ICH6_REG_INPAY			0x06
#define ICH6_REG_INPAY			0x06
#define ICH6_REG_GCTL			0x08
#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_FCNTRL	(1 << 1)   /* flush control */
#define   ICH6_GCTL_UNSOL	(1 << 8)   /* accept unsol. response enable */
#define   ICH6_GCTL_UNSOL	(1 << 8)   /* accept unsol. response enable */
#define ICH6_REG_WAKEEN			0x0c
#define ICH6_REG_WAKEEN			0x0c