mac80211: brcmfmac: restructuring sdio access functions
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 311-v4.16-0009-brcmfmac-Remove-noisy-debugging.patch
1 From 12e3e74e2820e11d91ee44fd3a190cd80d109faa Mon Sep 17 00:00:00 2001
2 From: Ian Molton <ian@mnementh.co.uk>
3 Date: Mon, 13 Nov 2017 21:35:46 +0100
4 Subject: [PATCH] brcmfmac: Remove noisy debugging.
5
6 If you need debugging this low level, you're doing something wrong.
7 Remove these noisy debug statements so the code is more readable.
8
9 Signed-off-by: Ian Molton <ian@mnementh.co.uk>
10 Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
11 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
12 ---
13 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 6 ------
14 1 file changed, 6 deletions(-)
15
16 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
17 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
18 @@ -371,9 +371,7 @@ u8 brcmf_sdiod_regrb(struct brcmf_sdio_d
19 u8 data;
20 int retval;
21
22 - brcmf_dbg(SDIO, "addr:0x%08x\n", addr);
23 retval = brcmf_sdiod_reg_read(sdiodev, addr, 1, &data);
24 - brcmf_dbg(SDIO, "data:0x%02x\n", data);
25
26 if (ret)
27 *ret = retval;
28 @@ -386,9 +384,7 @@ u32 brcmf_sdiod_regrl(struct brcmf_sdio_
29 u32 data;
30 int retval;
31
32 - brcmf_dbg(SDIO, "addr:0x%08x\n", addr);
33 retval = brcmf_sdiod_reg_read(sdiodev, addr, 4, &data);
34 - brcmf_dbg(SDIO, "data:0x%08x\n", data);
35
36 if (ret)
37 *ret = retval;
38 @@ -401,7 +397,6 @@ void brcmf_sdiod_regwb(struct brcmf_sdio
39 {
40 int retval;
41
42 - brcmf_dbg(SDIO, "addr:0x%08x, data:0x%02x\n", addr, data);
43 retval = brcmf_sdiod_reg_write(sdiodev, addr, 1, &data);
44
45 if (ret)
46 @@ -413,7 +408,6 @@ void brcmf_sdiod_regwl(struct brcmf_sdio
47 {
48 int retval;
49
50 - brcmf_dbg(SDIO, "addr:0x%08x, data:0x%08x\n", addr, data);
51 retval = brcmf_sdiod_reg_write(sdiodev, addr, 4, &data);
52
53 if (ret)