Received: by 10.223.185.116 with SMTP id b49csp762431wrg; Wed, 14 Feb 2018 06:40:12 -0800 (PST) X-Google-Smtp-Source: AH8x227WCkyz6hotlv6/jwdEM2dXk5qPwkIBq+5FsU/cmsvhD81qG5wJC2C7jHBHGP39u0GE+VmP X-Received: by 10.98.87.68 with SMTP id l65mr4950491pfb.72.1518619212688; Wed, 14 Feb 2018 06:40:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518619212; cv=none; d=google.com; s=arc-20160816; b=HuQx/5kOocrqjvXB91I4UBSonx5RVtOYW3JK/r3tNbPrzH+8WYo08C9Y9tO5GU9Dv1 zme++D+hhkchKi4rKlTgvFLVR5p0RBGICrtNUlyKYUg1G2eOORFreSmn/I2pl8Yr0r4r AdoLvVLXkVFOcei/YFF3kotqzvmBQKXLLHRkKK9vsEHYtk4VPrSsB4oby3CQj6wz9lTz N7WRVuDy+YIHI5QUnC+kY6r38lz6wvXowbYFq+GTYIiis8YppTFt1EI4dRV6JRruBhKJ mCvp6mB37lcn6kgE8vy7sI0UdveTDnrG7viXBe7NQ/6q2Tr9LZU9Bvohl5wKZ2OH2Jca ehfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:to:from :arc-authentication-results; bh=2+/CQIJFRQC9znrEQBztvzfDLI5Aki1J5rTBJMcPgtg=; b=nNP2x8r20D+fQKYm8VOI6Ss76ngtlQ7qG2dz/jh8U9ph+0eI2I+PyzcQYX7emV811T 46n72jh5YCRMNyE9kueohyGnMI+qqfIQpWtMugtpR+sBklU/ftct+jTcg10ZrV2P1gmo kjVLbcWA0dphiLzIvcNDKvKuVClWNyq58cJuS/ytiyl+Y7ugXDE18Czl5A/aDZE2Tm4t UbIcyPvOGbUHe8/jm9eEjDmMgBDm+pZSduwP54Uxt0D8kLYGo3SciOgxWlzIi8dIqsEQ ZsefKNFFvO2mr7zgO1E7D88p2lyuLjX1ilZ7QNvGmwm4aucyFh9FHVnFw0vW+1kLBT4F fC6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5-v6si7541113plt.284.2018.02.14.06.39.58; Wed, 14 Feb 2018 06:40:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030898AbeBNOjH (ORCPT + 99 others); Wed, 14 Feb 2018 09:39:07 -0500 Received: from mx2.suse.de ([195.135.220.15]:34498 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030786AbeBNOjF (ORCPT ); Wed, 14 Feb 2018 09:39:05 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4CB95ADD5; Wed, 14 Feb 2018 14:39:03 +0000 (UTC) From: Michal Suchanek To: Ulf Hansson , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Eric Anholt , Stefan Wahren , Michal Suchanek , Gerd Hoffmann , "Gustavo A. R. Silva" , Julia Lawall , linux-mmc@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] mmc: bcm2835: print some informational messages during reset Date: Wed, 14 Feb 2018 15:38:58 +0100 Message-Id: <57ff1e429a7fc12300a3cca0c5e9a637beed0d3a.1518619058.git.msuchanek@suse.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <97593d6e1a41af1baff61f7d9e6e68a450fc9da6.1518619058.git.msuchanek@suse.de> References: <97593d6e1a41af1baff61f7d9e6e68a450fc9da6.1518619058.git.msuchanek@suse.de> In-Reply-To: <97593d6e1a41af1baff61f7d9e6e68a450fc9da6.1518619058.git.msuchanek@suse.de> References: <97593d6e1a41af1baff61f7d9e6e68a450fc9da6.1518619058.git.msuchanek@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The previous patch does reset during hardware error so make the reset progress more visible. Signed-off-by: Michal Suchanek --- 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