|
@@ -139,7 +139,7 @@ static irqreturn_t sr_interrupt(int irq, void *data)
|
|
|
sr_write_reg(sr_info, ERRCONFIG_V1, status);
|
|
|
} else if (sr_info->ip_type == SR_TYPE_V2) {
|
|
|
/* Read the status bits */
|
|
|
- sr_read_reg(sr_info, IRQSTATUS);
|
|
|
+ status = sr_read_reg(sr_info, IRQSTATUS);
|
|
|
|
|
|
/* Clear them by writing back */
|
|
|
sr_write_reg(sr_info, IRQSTATUS, status);
|