0001-drivers-mmc-host-rm-log-in-sdhci-irq-context.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From 5b209b155adfccae7de429757560d0d7df4a6dc4 Mon Sep 17 00:00:00 2001
  2. From: "linghui.zlh" <linghui.zlh@linux.alibaba.com>
  3. Date: Fri, 6 May 2022 19:56:08 +0800
  4. Subject: [PATCH] drivers: mmc: host: rm log in sdhci irq context
  5. rm log in sdhci irq context
  6. Signed-off-by: linghui.zlh < linghui.zlh@linux.alibaba.com >
  7. ---
  8. drivers/mmc/host/sdhci.c | 5 ++---
  9. 1 file changed, 2 insertions(+), 3 deletions(-)
  10. diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
  11. index d42e86cdff12..28c3dd38284d 100644
  12. --- a/drivers/mmc/host/sdhci.c
  13. +++ b/drivers/mmc/host/sdhci.c
  14. @@ -3220,7 +3220,7 @@ static void sdhci_cmd_irq(struct sdhci_host *host, u32 intmask, u32 *intmask_p)
  15. return;
  16. pr_err("%s: Got command interrupt 0x%08x even though no command operation was in progress.\n",
  17. mmc_hostname(host->mmc), (unsigned)intmask);
  18. - sdhci_dumpregs(host);
  19. + //sdhci_dumpregs(host);
  20. return;
  21. }
  22. @@ -3350,7 +3350,7 @@ static void sdhci_data_irq(struct sdhci_host *host, u32 intmask)
  23. pr_err("%s: Got data interrupt 0x%08x even though no data operation was in progress.\n",
  24. mmc_hostname(host->mmc), (unsigned)intmask);
  25. - sdhci_dumpregs(host);
  26. + //sdhci_dumpregs(host);
  27. return;
  28. }
  29. @@ -4762,7 +4762,6 @@ int __sdhci_add_host(struct sdhci_host *host)
  30. free_irq(host->irq, host);
  31. unwq:
  32. destroy_workqueue(host->complete_wq);
  33. -
  34. return ret;
  35. }
  36. EXPORT_SYMBOL_GPL(__sdhci_add_host);
  37. --
  38. 2.17.1