diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2016-11-08 19:56:38 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-11-09 11:48:58 -0500 |
commit | b986723c4c937033957ef0971e54effd02afb451 (patch) | |
tree | eb2bd83fd955f7734634fd595058349121603e4f | |
parent | fab43e14347e510b5872515a47200914182c15f9 (diff) |
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>
-rw-r--r-- | drivers/ata/pata_imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_imx.c b/drivers/ata/pata_imx.c index 8f13c9f27c8c..d4caa23f5a88 100644 --- a/drivers/ata/pata_imx.c +++ b/drivers/ata/pata_imx.c | |||
@@ -160,7 +160,7 @@ static int pata_imx_probe(struct platform_device *pdev) | |||
160 | ap = host->ports[0]; | 160 | ap = host->ports[0]; |
161 | 161 | ||
162 | ap->ops = &pata_imx_port_ops; | 162 | ap->ops = &pata_imx_port_ops; |
163 | ap->pio_mask = ATA_PIO0; | 163 | ap->pio_mask = ATA_PIO4; |
164 | ap->flags |= ATA_FLAG_SLAVE_POSS; | 164 | ap->flags |= ATA_FLAG_SLAVE_POSS; |
165 | 165 | ||
166 | io_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 166 | io_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |