From: Jeff Garzik Date: Tue, 17 Jul 2007 06:21:50 +0000 (-0400) Subject: [libata] sata_mv: use pci_try_set_mwi() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ea8b4db97aa41a66c05daa4055a1974692ccd52d;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [libata] sata_mv: use pci_try_set_mwi() Because sometimes in life, it's ok to fail. Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 5d576435fcc..fb8a749423c 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c @@ -2666,7 +2666,7 @@ static int mv_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) mv_print_info(host); pci_set_master(pdev); - pci_set_mwi(pdev); + pci_try_set_mwi(pdev); return ata_host_activate(host, pdev->irq, mv_interrupt, IRQF_SHARED, IS_GEN_I(hpriv) ? &mv5_sht : &mv6_sht); }