[PATCH v3 2/5] pata_bk3710: disable IORDY Timer on chipset initialization

From: Bartlomiej Zolnierkiewicz
Date: Wed Mar 22 2017 - 14:21:56 EST


Disable IORDY Timer as the driver doesn't handle IORDY Timer
interrupt anyway.

Suggested-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>
---
drivers/ata/pata_bk3710.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/pata_bk3710.c b/drivers/ata/pata_bk3710.c
index 1a1223f..f22e4bf 100644
--- a/drivers/ata/pata_bk3710.c
+++ b/drivers/ata/pata_bk3710.c
@@ -264,9 +264,9 @@ static void pata_bk3710_chipinit(void __iomem *base)

/*
* IORDYTMP IORDY Timer for Primary Register
- * (ATA_IORDYTMP_IORDYTMP , 0xffff )
+ * (ATA_IORDYTMP_IORDYTMP , DISABLE)
*/
- iowrite32(0xFFFF, base + BK3710_IORDYTMP);
+ iowrite32(0, base + BK3710_IORDYTMP);

/*
* Configure BMISP Register
--
1.9.1