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

Commit abcfa88b authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

pata_amd: remove contamination added during cable_detect conversion



This is added by added by cff63dfceb52c564fe1ba5394d50ab7d599a11b9
 - pata: cable methods.

Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 169439c2
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -639,11 +639,6 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
	if (type == 1 && rev > 0x7)
		type = 2;

#if defined(CONFIG_ATA_ACPI)
	/* Prefer the ACPI driver for Nvidia hardware */
	if (pdev->vendor == PCI_VENDOR_ID_NVIDIA && ata_pata_acpi_present(pdev))
		return -ENODEV;
#endif
	/* Check for AMD7411 */
	if (type == 3)
		/* FIFO is broken */