[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <57ff1e429a7fc12300a3cca0c5e9a637beed0d3a.1518619058.git.msuchanek@suse.de>
Date: Wed, 14 Feb 2018 15:38:58 +0100
From: Michal Suchanek <msuchanek@...e.de>
To: Ulf Hansson <ulf.hansson@...aro.org>,
Florian Fainelli <f.fainelli@...il.com>,
Ray Jui <rjui@...adcom.com>,
Scott Branden <sbranden@...adcom.com>,
bcm-kernel-feedback-list@...adcom.com,
Eric Anholt <eric@...olt.net>,
Stefan Wahren <stefan.wahren@...e.com>,
Michal Suchanek <msuchanek@...e.de>,
Gerd Hoffmann <kraxel@...hat.com>,
"Gustavo A. R. Silva" <garsilva@...eddedor.com>,
Julia Lawall <Julia.Lawall@...6.fr>, linux-mmc@...r.kernel.org,
linux-rpi-kernel@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] mmc: bcm2835: print some informational messages during reset
The previous patch does reset during hardware error so make the reset
progress more visible.
Signed-off-by: Michal Suchanek <msuchanek@...e.de>
---
drivers/mmc/host/bcm2835.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c
index ce05fe72f865..4dde8b2b62a9 100644
--- a/drivers/mmc/host/bcm2835.c
+++ b/drivers/mmc/host/bcm2835.c
@@ -283,10 +283,14 @@ static void bcm2835_reset_internal(struct bcm2835_host *host)
static void bcm2835_reset(struct mmc_host *mmc)
{
struct bcm2835_host *host = mmc_priv(mmc);
+ struct device *dev = &host->pdev->dev;
- if (host->dma_chan)
+ if (host->dma_chan) {
+ dev_info(dev, "tearing down dma");
dmaengine_terminate_sync(host->dma_chan);
+ }
host->dma_chan = NULL;
+ dev_info(dev, "resetting");
bcm2835_reset_internal(host);
}
--
2.13.6
Powered by blists - more mailing lists