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

Commit 43a12216 authored by Roel Kluin's avatar Roel Kluin Committed by Bartlomiej Zolnierkiewicz
Browse files

amd74xx: device/vendor confusion



Device and vendor ids were confused

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Acked-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 0af80c04
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -166,7 +166,7 @@ static unsigned int init_chipset_amd74xx(struct pci_dev *dev)
	 * Check for broken FIFO support.
	 * Check for broken FIFO support.
	 */
	 */
	if (dev->vendor == PCI_VENDOR_ID_AMD &&
	if (dev->vendor == PCI_VENDOR_ID_AMD &&
	    dev->vendor == PCI_DEVICE_ID_AMD_VIPER_7411)
	    dev->device == PCI_DEVICE_ID_AMD_VIPER_7411)
		t &= 0x0f;
		t &= 0x0f;
	else
	else
		t |= 0xf0;
		t |= 0xf0;