From patchwork Tue Jan 28 14:07:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 232631 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41E91C2D0DB for ; Tue, 28 Jan 2020 14:27:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1464924688 for ; Tue, 28 Jan 2020 14:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580221641; bh=UDOslw//HU9T3CyQRE952D+mST3b7MPfW+u9hhNdxtw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=KWWU66Wf3ZFmqdggOERaKamkvun0EALA1fN63Drh3z+jSku3VAd9pM9xmhWN9qUEj 50tyThOINvdZnON5U0B61BjhRVBF3bMMx/3+k0Qc7+wX16BAMGVWr6fGEggaEIq0p6 gKYk948DfvMxGvqa5erlALWqU0ClshefQdsRxVHE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732490AbgA1O1T (ORCPT ); Tue, 28 Jan 2020 09:27:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:54974 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733279AbgA1O1S (ORCPT ); Tue, 28 Jan 2020 09:27:18 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 49C3124688; Tue, 28 Jan 2020 14:27:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580221637; bh=UDOslw//HU9T3CyQRE952D+mST3b7MPfW+u9hhNdxtw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f0KKTc7Xq2QtHWyd/hmjcH+DjZmPTqSWJpVUE9Ij++pMBuMD5d0KfAUFRjctgYL/0 itTaBIPdmGSSVLwVaMpe56tJxIyw6GuolQkNoyKgpwG3XShCzrzDU5wxeO3hvAmhsh tFd/Dt5z7EOuz1rIi1wy5JEErE4brdyc7MjcATVU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Adrian Hunter , Thierry Reding , =?utf-8?q?Micha=C5=82_Mir?= =?utf-8?b?b3PFgmF3?= , Ulf Hansson Subject: [PATCH 4.19 30/92] mmc: tegra: fix SDR50 tuning override Date: Tue, 28 Jan 2020 15:07:58 +0100 Message-Id: <20200128135812.918879042@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200128135809.344954797@linuxfoundation.org> References: <20200128135809.344954797@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Michał Mirosław commit f571389c0b015e76f91c697c4c1700aba860d34f upstream. Commit 7ad2ed1dfcbe inadvertently mixed up a quirk flag's name and broke SDR50 tuning override. Use correct NVQUIRK_ name. Fixes: 7ad2ed1dfcbe ("mmc: tegra: enable UHS-I modes") Cc: Acked-by: Adrian Hunter Reviewed-by: Thierry Reding Tested-by: Thierry Reding Signed-off-by: Michał Mirosław Link: https://lore.kernel.org/r/9aff1d859935e59edd81e4939e40d6c55e0b55f6.1578390388.git.mirq-linux@rere.qmqm.pl Signed-off-by: Ulf Hansson Signed-off-by: Greg Kroah-Hartman --- drivers/mmc/host/sdhci-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -177,7 +177,7 @@ static void tegra_sdhci_reset(struct sdh misc_ctrl |= SDHCI_MISC_CTRL_ENABLE_DDR50; if (soc_data->nvquirks & NVQUIRK_ENABLE_SDR104) misc_ctrl |= SDHCI_MISC_CTRL_ENABLE_SDR104; - if (soc_data->nvquirks & SDHCI_MISC_CTRL_ENABLE_SDR50) + if (soc_data->nvquirks & NVQUIRK_ENABLE_SDR50) clk_ctrl |= SDHCI_CLOCK_CTRL_SDR50_TUNING_OVERRIDE; }