351-0013-brcmfmac-revise-SDIO-error-message-in-brcmf_sdio_dri.patch 1.0 KB

123456789101112131415161718192021222324252627
  1. From: Wright Feng <wright.feng@broadcom.com>
  2. Date: Fri, 3 Jun 2016 23:31:08 +0200
  3. Subject: [PATCH] brcmfmac: revise SDIO error message in
  4. brcmf_sdio_drivestrengthinit
  5. The error message is given for something that is not an error here as
  6. the drive strength configuration may not be applicable for specific
  7. devices. Therefor the error message is rephrased and changed to a
  8. debug message.
  9. Signed-off-by: Wright Feng <wright.feng@broadcom.com>
  10. [arend@broadcom.com: rephrase commit message]
  11. Signed-off-by: Arend van Spriel <arend@broadcom.com>
  12. Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
  13. ---
  14. --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
  15. +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
  16. @@ -3666,7 +3666,7 @@ brcmf_sdio_drivestrengthinit(struct brcm
  17. str_shift = 11;
  18. break;
  19. default:
  20. - brcmf_err("No SDIO Drive strength init done for chip %s rev %d pmurev %d\n",
  21. + brcmf_dbg(INFO, "No SDIO driver strength init needed for chip %s rev %d pmurev %d\n",
  22. ci->name, ci->chiprev, ci->pmurev);
  23. break;
  24. }