1 From d678296bfb9a630d0000222fc21f4ed0d0d65332 Mon Sep 17 00:00:00 2001
2 From: Arend Van Spriel <arend.vanspriel@broadcom.com>
3 Date: Tue, 20 Feb 2018 00:14:24 +0100
4 Subject: [PATCH] brcmfmac: change log level for some low-level sdio functions
6 Reducing the number of trace level messages in sdio code giving
7 them sdio log level instead.
9 Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
10 Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
11 Reviewed-by: Franky Lin <franky.lin@broadcom.com>
12 Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
13 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
15 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 10 +++++-----
16 1 file changed, 5 insertions(+), 5 deletions(-)
18 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
19 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
20 @@ -1706,7 +1706,7 @@ brcmf_sdio_read_control(struct brcmf_sdi
21 u8 *buf = NULL, *rbuf;
24 - brcmf_dbg(TRACE, "Enter\n");
25 + brcmf_dbg(SDIO, "Enter\n");
27 buf = vzalloc(bus->rxblen);
29 @@ -1809,7 +1809,7 @@ static uint brcmf_sdio_readframes(struct
30 struct brcmf_sdio_hdrinfo *rd = &bus->cur_read, rd_new;
33 - brcmf_dbg(TRACE, "Enter\n");
34 + brcmf_dbg(SDIO, "Enter\n");
36 /* Not finished unless we encounter no more frames indication */
37 bus->rxpending = true;
38 @@ -2344,7 +2344,7 @@ static int brcmf_sdio_tx_ctrlframe(struc
39 struct brcmf_sdio_hdrinfo hd_info = {0};
42 - brcmf_dbg(TRACE, "Enter\n");
43 + brcmf_dbg(SDIO, "Enter\n");
45 /* Back the pointer to make room for bus header */
46 frame -= bus->tx_hdrlen;
47 @@ -2520,7 +2520,7 @@ static void brcmf_sdio_dpc(struct brcmf_
48 uint framecnt; /* Temporary counter of tx/rx frames */
51 - brcmf_dbg(TRACE, "Enter\n");
52 + brcmf_dbg(SDIO, "Enter\n");
54 sdio_claim_host(bus->sdiodev->func1);
56 @@ -2605,7 +2605,7 @@ static void brcmf_sdio_dpc(struct brcmf_
58 /* Would be active due to wake-wlan in gSPI */
59 if (intstatus & I_CHIPACTIVE) {
60 - brcmf_dbg(INFO, "Dongle reports CHIPACTIVE\n");
61 + brcmf_dbg(SDIO, "Dongle reports CHIPACTIVE\n");
62 intstatus &= ~I_CHIPACTIVE;