|
@@ -230,7 +230,7 @@ void rsi_interrupt_handler(struct rsi_hw *adapter)
|
|
dev->rx_info.sdio_int_counter++;
|
|
dev->rx_info.sdio_int_counter++;
|
|
|
|
|
|
do {
|
|
do {
|
|
- mutex_lock(&common->tx_rxlock);
|
|
|
|
|
|
+ mutex_lock(&common->rx_lock);
|
|
status = rsi_sdio_read_register(common->priv,
|
|
status = rsi_sdio_read_register(common->priv,
|
|
RSI_FN1_INT_REGISTER,
|
|
RSI_FN1_INT_REGISTER,
|
|
&isr_status);
|
|
&isr_status);
|
|
@@ -238,7 +238,7 @@ void rsi_interrupt_handler(struct rsi_hw *adapter)
|
|
rsi_dbg(ERR_ZONE,
|
|
rsi_dbg(ERR_ZONE,
|
|
"%s: Failed to Read Intr Status Register\n",
|
|
"%s: Failed to Read Intr Status Register\n",
|
|
__func__);
|
|
__func__);
|
|
- mutex_unlock(&common->tx_rxlock);
|
|
|
|
|
|
+ mutex_unlock(&common->rx_lock);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
adapter->interrupt_status = isr_status;
|
|
adapter->interrupt_status = isr_status;
|
|
@@ -246,7 +246,7 @@ void rsi_interrupt_handler(struct rsi_hw *adapter)
|
|
if (isr_status == 0) {
|
|
if (isr_status == 0) {
|
|
rsi_set_event(&common->tx_thread.event);
|
|
rsi_set_event(&common->tx_thread.event);
|
|
dev->rx_info.sdio_intr_status_zero++;
|
|
dev->rx_info.sdio_intr_status_zero++;
|
|
- mutex_unlock(&common->tx_rxlock);
|
|
|
|
|
|
+ mutex_unlock(&common->rx_lock);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -304,7 +304,7 @@ void rsi_interrupt_handler(struct rsi_hw *adapter)
|
|
rsi_dbg(ERR_ZONE,
|
|
rsi_dbg(ERR_ZONE,
|
|
"%s: Failed to read pkt\n",
|
|
"%s: Failed to read pkt\n",
|
|
__func__);
|
|
__func__);
|
|
- mutex_unlock(&common->tx_rxlock);
|
|
|
|
|
|
+ mutex_unlock(&common->rx_lock);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
@@ -319,7 +319,7 @@ void rsi_interrupt_handler(struct rsi_hw *adapter)
|
|
}
|
|
}
|
|
isr_status ^= BIT(isr_type - 1);
|
|
isr_status ^= BIT(isr_type - 1);
|
|
} while (isr_status);
|
|
} while (isr_status);
|
|
- mutex_unlock(&common->tx_rxlock);
|
|
|
|
|
|
+ mutex_unlock(&common->rx_lock);
|
|
} while (1);
|
|
} while (1);
|
|
}
|
|
}
|
|
|
|
|