pata: imx: support controller modes up to PIO4
authorVladimir Zapolskiy <vz@mleia.com>
Wed, 9 Nov 2016 00:56:38 +0000 (02:56 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 9 Nov 2016 16:48:58 +0000 (11:48 -0500)
Having timing settings for all supported by the controller PIO modes
now it is possible to expand its PIO mask.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_imx.c

index 8f13c9f27c8cd084ef015e1c930bdcf41379cb15..d4caa23f5a88dd6c828afa84e9dca809b423874f 100644 (file)
@@ -160,7 +160,7 @@ static int pata_imx_probe(struct platform_device *pdev)
        ap = host->ports[0];
 
        ap->ops = &pata_imx_port_ops;
-       ap->pio_mask = ATA_PIO0;
+       ap->pio_mask = ATA_PIO4;
        ap->flags |= ATA_FLAG_SLAVE_POSS;
 
        io_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);