Signed-off-by: Kalle Valo <kv...@qca.qualcomm.com> --- drivers/net/wireless/ath/ath10k/core.c | 9 ++++++--- drivers/net/wireless/ath/ath10k/htc.c | 12 ++++++++---- drivers/net/wireless/ath/ath10k/htt_rx.c | 3 ++- drivers/net/wireless/ath/ath10k/pci.c | 3 ++- drivers/net/wireless/ath/ath10k/pci.h | 3 ++- 5 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 88890a4..4f6967e 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -254,7 +254,8 @@ static int ath10k_download_board_data(struct ath10k *ar) fw = ath10k_fetch_fw_file(ar, ar->hw_params.fw.dir, ar->hw_params.fw.board); if (IS_ERR(fw)) { - ath10k_err("could not fetch board data fw file (%ld)\n", PTR_ERR(fw)); + ath10k_err("could not fetch board data fw file (%ld)\n", + PTR_ERR(fw)); return PTR_ERR(fw); } @@ -304,7 +305,8 @@ static int ath10k_download_and_run_otp(struct ath10k *ar) address = ar->hw_params.patch_load_addr; - fw = ath10k_fetch_fw_file(ar, ar->hw_params.fw.dir, ar->hw_params.fw.otp); + fw = ath10k_fetch_fw_file(ar, ar->hw_params.fw.dir, + ar->hw_params.fw.otp); if (IS_ERR(fw)) { ath10k_warn("could not fetch otp (%ld)\n", PTR_ERR(fw)); return 0; @@ -339,7 +341,8 @@ static int ath10k_download_fw(struct ath10k *ar) address = ar->hw_params.patch_load_addr; - fw = ath10k_fetch_fw_file(ar, ar->hw_params.fw.dir, ar->hw_params.fw.fw); + fw = ath10k_fetch_fw_file(ar, ar->hw_params.fw.dir, + ar->hw_params.fw.fw); if (IS_ERR(fw)) { ath10k_err("could not fetch fw (%ld)\n", PTR_ERR(fw)); return PTR_ERR(fw); diff --git a/drivers/net/wireless/ath/ath10k/htc.c b/drivers/net/wireless/ath/ath10k/htc.c index 1e4c075..be41e11 100644 --- a/drivers/net/wireless/ath/ath10k/htc.c +++ b/drivers/net/wireless/ath/ath10k/htc.c @@ -74,7 +74,8 @@ static inline void ath10k_htc_send_complete_check(struct ath10k_htc_ep *ep, ath10k_hif_send_complete_check(ep->htc->ar, ep->ul_pipe_id, force); } -static void ath10k_htc_control_tx_complete(struct ath10k *ar, struct sk_buff *skb) +static void ath10k_htc_control_tx_complete(struct ath10k *ar, + struct sk_buff *skb) { kfree_skb(skb); } @@ -596,7 +597,8 @@ out: return status; } -static void ath10k_htc_control_rx_complete(struct ath10k *ar, struct sk_buff *skb) +static void ath10k_htc_control_rx_complete(struct ath10k *ar, + struct sk_buff *skb) { /* TODO, can't receive HTC control messages yet */ ath10k_dbg(ATH10K_DBG_HTC, "Invalid call to %s\n", __func__); @@ -849,14 +851,16 @@ int ath10k_htc_connect_service(struct ath10k_htc *htc, ath10k_dbg(ATH10K_DBG_HTC, "HTC Service %s connect response: status: 0x%x, assigned ep: 0x%x\n", - htc_service_name(service_id), resp_msg->status, resp_msg->eid); + htc_service_name(service_id), + resp_msg->status, resp_msg->eid); conn_resp->connect_resp_code = resp_msg->status; /* check response status */ if (resp_msg->status != ATH10K_HTC_CONN_SVC_STATUS_SUCCESS) { ath10k_err("HTC Service %s connect request failed: 0x%x)\n", - htc_service_name(service_id), resp_msg->status); + htc_service_name(service_id), + resp_msg->status); return -EPROTO; } diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c index cbd5508..23399d1 100644 --- a/drivers/net/wireless/ath/ath10k/htt_rx.c +++ b/drivers/net/wireless/ath/ath10k/htt_rx.c @@ -978,7 +978,8 @@ static void ath10k_htt_rx_frag_handler(struct ath10k_htt *htt, end: if (fw_desc_len > 0) { ath10k_dbg(ATH10K_DBG_HTT, - "expecting more fragmented rx in one indication %d\n", fw_desc_len); + "expecting more fragmented rx in one indication %d\n", + fw_desc_len); } } diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index 072cfd8..7eab49c 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c @@ -184,7 +184,8 @@ static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data, i = 0; while (ath10k_ce_completed_send_next(ce_diag, NULL, &buf, - &completed_nbytes, &id) != 0) { + &completed_nbytes, + &id) != 0) { mdelay(1); if (i++ > DIAG_ACCESS_CE_TIMEOUT_MS) { ret = -EBUSY; diff --git a/drivers/net/wireless/ath/ath10k/pci.h b/drivers/net/wireless/ath/ath10k/pci.h index 49f2d1b..e78b861 100644 --- a/drivers/net/wireless/ath/ath10k/pci.h +++ b/drivers/net/wireless/ath/ath10k/pci.h @@ -316,7 +316,8 @@ static inline void ath10k_pci_write32(struct ath10k *ar, u32 offset, ioread32(addr+offset+4); /* 1st read prior to write */ iowrite32(value, addr+offset); - spin_unlock_irqrestore(&ar_pci->hw_v1_workaround_lock, irq_flags); + spin_unlock_irqrestore(&ar_pci->hw_v1_workaround_lock, + irq_flags); } else iowrite32(value, addr+offset); } _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel