mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
scsi: megaraid_sas: Retry reads of outbound_intr_status reg
commit 272652fcbf ("scsi: megaraid_sas: add retry logic in megasas_readl")
missed changing readl to megasas_readl in megasas_clear_intr_fusion(). For
Aero controllers, reads of outbound_intr_status register needs to be
retried.
Reported-by: Tomas Henzl <[email protected]>
Signed-off-by: Shivasharan S <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
parent
34a2ce8876
commit
c65bfc8163
1 changed files with 2 additions and 1 deletions
|
|
@ -175,7 +175,8 @@ megasas_clear_intr_fusion(struct megasas_instance *instance)
|
|||
/*
|
||||
* Check if it is our interrupt
|
||||
*/
|
||||
status = readl(®s->outbound_intr_status);
|
||||
status = megasas_readl(instance,
|
||||
®s->outbound_intr_status);
|
||||
|
||||
if (status & 1) {
|
||||
writel(status, ®s->outbound_intr_status);
|
||||
|
|
|
|||
Loading…
Reference in a new issue