pata: imx: support controller modes up to PIO4

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>
This commit is contained in:
Vladimir Zapolskiy 2016-11-09 02:56:38 +02:00 коммит произвёл Tejun Heo
Родитель fab43e1434
Коммит b986723c4c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);