Skip to content

Commit cf10700

Browse files
committed
Staging: phison: fix problem caused by libata change
The libata core changed this function so it needed to call a different one. See https://bugzilla.kernel.org/show_bug.cgi?id=19872 for details. Reported-by: Heinz Wiesinger <HMWiesinger@gmx.at> Tested-by: Heinz Wiesinger <HMWiesinger@gmx.at> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent edae01b commit cf10700

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/staging/phison/phison.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static int phison_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
6262
};
6363
const struct ata_port_info *ppi[] = { &info, NULL };
6464

65-
ret = ata_pci_sff_init_one(pdev, ppi, &phison_sht, NULL, 0);
65+
ret = ata_pci_bmdma_init_one(pdev, ppi, &phison_sht, NULL, 0);
6666

6767
dev_dbg(&pdev->dev, "phison_init_one(), ret = %x\n", ret);
6868

0 commit comments

Comments
 (0)