diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-03-22 19:21:00 +0100 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2017-03-30 16:13:04 +0530 |
commit | 396ff64d44dbcbd4e6c06c005c4e931bd4b35e4d (patch) | |
tree | 0807b36d8965094b70f17ba6db5cc70daa84b744 /drivers/ata/pata_bk3710.c | |
parent | c217ff26b033efb5e27c0645e9f0778ea7a3a578 (diff) | |
download | linux-stable-396ff64d44dbcbd4e6c06c005c4e931bd4b35e4d.tar.gz linux-stable-396ff64d44dbcbd4e6c06c005c4e931bd4b35e4d.tar.bz2 linux-stable-396ff64d44dbcbd4e6c06c005c4e931bd4b35e4d.zip |
pata_bk3710: clear status bits of BMISP on chipset initialization
Clear IORDYINT, INTRSTAT and DMAERROR bits of BMISP register
(value '1' needs to be written to the bit to clear it).
Suggested-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'drivers/ata/pata_bk3710.c')
-rw-r--r-- | drivers/ata/pata_bk3710.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_bk3710.c b/drivers/ata/pata_bk3710.c index f22e4bf7a7f6..6c3bd5fae3e4 100644 --- a/drivers/ata/pata_bk3710.c +++ b/drivers/ata/pata_bk3710.c @@ -276,7 +276,7 @@ static void pata_bk3710_chipinit(void __iomem *base) * (ATA_BMISP_INTRSTAT , CLEAR) | * (ATA_BMISP_DMAERROR , CLEAR) */ - iowrite16(0, base + BK3710_BMISP); + iowrite16(0xE, base + BK3710_BMISP); pata_bk3710_setpiomode(base, NULL, 0, 600, 0); pata_bk3710_setpiomode(base, NULL, 1, 600, 0); |