311-v4.16-0009-brcmfmac-Remove-noisy-debugging.patch 1.6 KB

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