From patchwork Tue Apr 19 07:12:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olliver Schinagl X-Patchwork-Id: 8877251 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C1C489F39D for ; Tue, 19 Apr 2016 07:15:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E49C02024D for ; Tue, 19 Apr 2016 07:15:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 03A6D20211 for ; Tue, 19 Apr 2016 07:15:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1asPrn-0005aH-VE; Tue, 19 Apr 2016 07:14:35 +0000 Received: from 7of9.schinagl.nl ([88.159.158.68]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1asPrm-0005TS-6p for linux-arm-kernel@lists.infradead.org; Tue, 19 Apr 2016 07:14:34 +0000 Received: from um-mba-140.wifi.ns.nl (unknown [145.15.244.28]) by 7of9.schinagl.nl (Postfix) with ESMTPA id 39B0E4752D; Tue, 19 Apr 2016 09:14:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=schinagl.nl; s=7of9; t=1461050055; bh=VbJ0u4OlZW+sTS+mkGdbp+laXMSMAgeDzQ/++LQZuuo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Ic7f5hAJIkQ54Hbm2QHGKcYJ+SVQkFgYhxjBek+SO/vhuNNHuXz15B3eE+ZtbFzxB pMp22Y5JIuGxs3kZSKWZRjhJsyAFtRiQGMFaFMAl07UfY9DVekNKfToQGVI7Ckw/PG yTt8GH67KtPhx0hpT8aqH2oCPjp7gAyNF8ofb97Q= From: Olliver Schinagl To: Ulf Hansson , Maxime Ripard , Chen-Yu Tsai , Venu Byravarasu , Adrian Hunter , Michal Hocko , Lars-Peter Clausen , Sudeep Holla , Sergei Shtylyov , Wolfram Sang , Wenkai Du , Chaotian Jing , Kuninori Morimoto , Hans de Goede , Jaehoon Chung , Michal Suchanek Subject: [PATCH 2/2] mmc: sunxi: Mark the HPI of the mmc controller broken by default Date: Tue, 19 Apr 2016 09:12:14 +0200 Message-Id: <1461049934-12848-3-git-send-email-oliver@schinagl.nl> X-Mailer: git-send-email 2.8.0.rc3 In-Reply-To: <1461049934-12848-1-git-send-email-oliver@schinagl.nl> References: <1461049934-12848-1-git-send-email-oliver@schinagl.nl> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160419_001434_408763_5CAC5AF9 X-CRM114-Status: UNSURE ( 7.48 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -3.0 (---) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olliver Schinagl , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP So far it seems all sunxi MMC controllers have a broken HPI. Until proved otherwise, mark all sunxi mmc controllers as having a broken HPI. Signed-off-by: Olliver Schinagl --- drivers/mmc/host/sunxi-mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c index 8372a41..acf24fb 100644 --- a/drivers/mmc/host/sunxi-mmc.c +++ b/drivers/mmc/host/sunxi-mmc.c @@ -1126,8 +1126,8 @@ static int sunxi_mmc_probe(struct platform_device *pdev) mmc->f_min = 400000; mmc->f_max = 52000000; mmc->caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED | - MMC_CAP_1_8V_DDR | - MMC_CAP_ERASE | MMC_CAP_SDIO_IRQ; + MMC_CAP_1_8V_DDR | MMC_CAP_ERASE | + MMC_CAP_SDIO_IRQ | MMC_CAP_BROKEN_HPI; ret = mmc_of_parse(mmc); if (ret)