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

Commit 6285ae1d authored by Alan Horstmann's avatar Alan Horstmann Committed by Jaroslav Kysela
Browse files

[ALSA] ice1712 - Fix wrong register value for DMX 6FIRE



I have just discovered I made an error in the register value set in 'Limit
dmx6fire to 6 dacs' patch (bug1472).  The value set should be '2a' not '0a'
as in the original patch, which unintentionally disables the 2nd MPU 401
UART.

Signed-off-by: default avatarAlan Horstmann <gineera@aspect135.co.uk>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent c04d092b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2402,7 +2402,7 @@ static int __devinit snd_ice1712_chip_init(struct snd_ice1712 *ice)
	if (ice->eeprom.subvendor == ICE1712_SUBDEVICE_DMX6FIRE && !ice->dxr_enable) {
	if (ice->eeprom.subvendor == ICE1712_SUBDEVICE_DMX6FIRE && !ice->dxr_enable) {
                /* Limit active ADCs and DACs to 6;  */
                /* Limit active ADCs and DACs to 6;  */
                /* Note: DXR extension not supported */
                /* Note: DXR extension not supported */
		pci_write_config_byte(ice->pci, 0x60, 0x0a);
		pci_write_config_byte(ice->pci, 0x60, 0x2a);
	} else {
	} else {
		pci_write_config_byte(ice->pci, 0x60, ice->eeprom.data[ICE_EEP1_CODEC]);
		pci_write_config_byte(ice->pci, 0x60, ice->eeprom.data[ICE_EEP1_CODEC]);
	}
	}