mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-01 00:12:36 -05:00
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 <[email protected]> Acked-by: Sergei Shtylyov <[email protected]> Acked-by: Tejun Heo <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]> Signed-off-by: Sekhar Nori <[email protected]>
This commit is contained in:
parent
c217ff26b0
commit
396ff64d44
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue