From patchwork Tue Oct 6 01:22:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 7332771 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C7B9FBEEA4 for ; Tue, 6 Oct 2015 01:16:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E61E82068E for ; Tue, 6 Oct 2015 01:16:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B6D0420687 for ; Tue, 6 Oct 2015 01:16:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751749AbbJFBQR (ORCPT ); Mon, 5 Oct 2015 21:16:17 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:34718 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751424AbbJFBPw (ORCPT ); Mon, 5 Oct 2015 21:15:52 -0400 Received: by labzv5 with SMTP id zv5so135360538lab.1 for ; Mon, 05 Oct 2015 18:15:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rmkAQuoqweGqjh6mU4PsNn3lMIxbe3HymqK3PJTA2QQ=; b=EmUpwOysSs3TDLAMcIkBB9RJ0XFXLXhn1f9YnZNYmfUfYz3qLBI+BdE0o2sIoNe7i4 79rvjdEFUl7P/9CZHTrI+X51a8dp6EwHvNNiFKxPhIQeXM9lXzp6VZt6vd+lww/U0E44 qvSDTVXd8Dk+fsMvmuzsamx2+PIbnBjMxE/5yJa/t/zjJbRyvQ2FBsmp/am+3EWSBOzD jmhvc6YZAdB9pNhH2vXZNRyg+89NuPSoSgVndWzRWtZyzfxVeJ/mAcIY4Hd7i7eeYU98 6RVWZpIrx2Bve71gYllgNOjgJ+SyNZvdiDVl38ShHlwK4E2A6NegoHy3Lf3pzH6Jt1Bs WlcA== X-Gm-Message-State: ALoCoQmcF8XFbXk4X4Wa5dYkGNLM1nI2rdk1g1MuprcoYxhD92Ot4VfDf5jMNN4DVSn4orCTr28+ X-Received: by 10.112.130.70 with SMTP id oc6mr13386271lbb.32.1444094151112; Mon, 05 Oct 2015 18:15:51 -0700 (PDT) Received: from enkidu.semihalf.local (cardhu.semihalf.com. [213.17.239.108]) by smtp.gmail.com with ESMTPSA id x1sm4694780lbb.32.2015.10.05.18.15.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Oct 2015 18:15:50 -0700 (PDT) From: Marcin Wojtas To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org Cc: ulf.hansson@linaro.org, sebastian.hesselbarth@gmail.com, andrew@lunn.ch, jason@lakedaemon.net, thomas.petazzoni@free-electrons.com, gregory.clement@free-electrons.com, nadavh@marvell.com, alior@marvell.com, tawfik@marvell.com, mw@semihalf.com, jaz@semihalf.com, Subject: [PATCH 1/8] mmc: sdhci-pxav3: remove broken clock base quirk for Armada 38x sdhci driver Date: Tue, 6 Oct 2015 03:22:35 +0200 Message-Id: <1444094562-31165-2-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1444094562-31165-1-git-send-email-mw@semihalf.com> References: <1444094562-31165-1-git-send-email-mw@semihalf.com> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 From: Nadav Haklai shci-pxav3 driver is enabling by default the SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN quirk. However this quirk is not required for Armada 38x and leads to wrong clock setting in the divider. Signed-off-by: Nadav Haklai Signed-off-by: Marcin Wojtas Cc: # v4.2 Reviewed-by: Gregory CLEMENT --- drivers/mmc/host/sdhci-pxav3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index 946d37f..976cddd 100644 --- a/drivers/mmc/host/sdhci-pxav3.c +++ b/drivers/mmc/host/sdhci-pxav3.c @@ -135,6 +135,7 @@ static int armada_38x_quirks(struct platform_device *pdev, struct sdhci_pxa *pxa = pltfm_host->priv; struct resource *res; + host->quirks &= ~SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN; host->quirks |= SDHCI_QUIRK_MISSING_CAPS; res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "conf-sdio3");