wil6210: rename [en|dis]able irq to [un]mask

To better reflect real action performed, rename:
s/wil6210_disable_irq/wil_mask_irq/
s/wil6210_enable_irq/wil_unmask_irq/

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Vladimir Kondratiev 2014-09-10 16:34:49 +03:00 committed by John W. Linville
parent d00a6367d2
commit e4dbb093de
3 changed files with 7 additions and 7 deletions

View File

@ -135,7 +135,7 @@ static void wil6210_unmask_irq_pseudo(struct wil6210_priv *wil)
HOSTADDR(RGF_DMA_PSEUDO_CAUSE_MASK_SW)); HOSTADDR(RGF_DMA_PSEUDO_CAUSE_MASK_SW));
} }
void wil6210_disable_irq(struct wil6210_priv *wil) void wil_mask_irq(struct wil6210_priv *wil)
{ {
wil_dbg_irq(wil, "%s()\n", __func__); wil_dbg_irq(wil, "%s()\n", __func__);
@ -145,7 +145,7 @@ void wil6210_disable_irq(struct wil6210_priv *wil)
wil6210_mask_irq_pseudo(wil); wil6210_mask_irq_pseudo(wil);
} }
void wil6210_enable_irq(struct wil6210_priv *wil) void wil_unmask_irq(struct wil6210_priv *wil)
{ {
wil_dbg_irq(wil, "%s()\n", __func__); wil_dbg_irq(wil, "%s()\n", __func__);
@ -546,7 +546,7 @@ void wil6210_fini_irq(struct wil6210_priv *wil, int irq)
{ {
wil_dbg_misc(wil, "%s()\n", __func__); wil_dbg_misc(wil, "%s()\n", __func__);
wil6210_disable_irq(wil); wil_mask_irq(wil);
free_irq(irq, wil); free_irq(irq, wil);
if (wil->n_msi == 3) { if (wil->n_msi == 3) {
free_irq(irq + 1, wil); free_irq(irq + 1, wil);

View File

@ -496,7 +496,7 @@ int wil_reset(struct wil6210_priv *wil)
wil->scan_request = NULL; wil->scan_request = NULL;
} }
wil6210_disable_irq(wil); wil_mask_irq(wil);
wmi_event_flush(wil); wmi_event_flush(wil);
@ -539,7 +539,7 @@ int wil_reset(struct wil6210_priv *wil)
reinit_completion(&wil->wmi_ready); reinit_completion(&wil->wmi_ready);
reinit_completion(&wil->wmi_call); reinit_completion(&wil->wmi_call);
wil6210_enable_irq(wil); wil_unmask_irq(wil);
/* we just started MAC, wait for FW ready */ /* we just started MAC, wait for FW ready */
rc = wil_wait_for_fw_ready(wil); rc = wil_wait_for_fw_ready(wil);

View File

@ -532,8 +532,8 @@ int wmi_disconnect_sta(struct wil6210_priv *wil, const u8 *mac, u16 reason);
void wil6210_clear_irq(struct wil6210_priv *wil); void wil6210_clear_irq(struct wil6210_priv *wil);
int wil6210_init_irq(struct wil6210_priv *wil, int irq); int wil6210_init_irq(struct wil6210_priv *wil, int irq);
void wil6210_fini_irq(struct wil6210_priv *wil, int irq); void wil6210_fini_irq(struct wil6210_priv *wil, int irq);
void wil6210_disable_irq(struct wil6210_priv *wil); void wil_mask_irq(struct wil6210_priv *wil);
void wil6210_enable_irq(struct wil6210_priv *wil); void wil_unmask_irq(struct wil6210_priv *wil);
int wil_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, int wil_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev,
struct cfg80211_mgmt_tx_params *params, struct cfg80211_mgmt_tx_params *params,
u64 *cookie); u64 *cookie);