fix: ahci: fixed failure on write (clear IRQ before flush)
When scsi_write is called via aHCI, it tries to flush the
drive cache, and it failed.
The cache flush failed because the IRQ status register
wasn't cleared after previous transaction.
- clear the SATA IRQ status register before the cache flush
- Fixed JIRA:SYSTEMSW-1532.
Change-Id: I99f1a00a7793077090df9c897c7eb765c2648b33
Signed-off-by: Bassel Saba <basselsa@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/18224
Reviewed-by: Omri Itach <omrii@marvell.com>
Tested-by: Star_Automation <star@marvell.com>
1 file changed