Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3004158pxu; Mon, 14 Dec 2020 17:34:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqOxIRfnmZS/ptzDialOejVuWV4DOVL8uNrYUpubpbtVDCrh7BQWsu1vf63gGkMthHTMtg X-Received: by 2002:a17:906:cc8c:: with SMTP id oq12mr25557952ejb.419.1607996091308; Mon, 14 Dec 2020 17:34:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607996091; cv=none; d=google.com; s=arc-20160816; b=v/VtXgtZU4qSEIrjy986a7Xv6Xhhm0xLaFUUdZaNjyQLtbyaIqqKHTCBZsZvOqicRK mzqOuOIuvkSRvK1mbbFxnyv/om0Y0wZa6Apphso/1niqGe36e/047lUr1Vm3A0fY7SiR rb8wFHUY/Fp2LB5n53rqldgQHVIONA4eJ7F+Wf0F5psvyHEmB3UtfSxUoa8Lv/dZmaKx ChwpWDSYOHSHERUZHWFYng0rIygcrwGieALqf32BvCAO9sShhzFhEKGCLDyAmD6fgXbj 02jHXjUiz+NbAl1Luk7mDiplzYaxg9RI8/UpXM/1jvh0mRH9plCNpe8t6rKNXzUFHIx2 uNBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=/wp91MglmQVmwrj4TbDz+jS4cZiU4gccQkJweo3CT88=; b=Gg+LMB4HuOawwj36FNO0xKB8jFgGTuQiMvbOtyQBgCo/C+RZbfHOiaYSjmUMIpGtQ4 Lv04LGQuHbS4uxih4i5oZColi5XSTR8lGooFgp7TSp1pQHYLZpW37NVyuoWQZTvHu+Hi g1Nja/xro4p7rqqox/uw+TlkrIkPuy7Tg3k8IJMi9/YnxlbVRqxQ/eOo+Opcd9Do2eXz 0NGPdNkmtVhMjr6lQj+uwz0rNcfnn/Q/Jkleqpbwr4S8Ub26xp1xaz81Q+DB/TxU5Oou gLN6i/apB0AbJ727AYMCMRliGZ5bF+LRT/BRtoE18LYh1h8pWI5nortnkJBltDuXuX0v DLUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nq4si127939ejb.68.2020.12.14.17.34.28; Mon, 14 Dec 2020 17:34:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408790AbgLNS2o (ORCPT + 99 others); Mon, 14 Dec 2020 13:28:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:46000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502299AbgLNRiC (ORCPT ); Mon, 14 Dec 2020 12:38:02 -0500 From: Greg Kroah-Hartman Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Fabien Parent , Mattijs Korpershoek , Yong Mao , Ulf Hansson Subject: [PATCH 5.9 079/105] mmc: mediatek: Extend recheck_sdio_irq fix to more variants Date: Mon, 14 Dec 2020 18:28:53 +0100 Message-Id: <20201214172559.074769061@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201214172555.280929671@linuxfoundation.org> References: <20201214172555.280929671@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: yong mao commit 903a72eca4abf241293dcc1385896fd428e15fe9 upstream. The SDIO recheck fix is required for more of the supported variants. Let's add it to those that needs it. Reported-by: Fabien Parent Reported-by: Mattijs Korpershoek Signed-off-by: Yong Mao Link: https://lore.kernel.org/r/20201119030237.9414-1-yong.mao@mediatek.com Fixes: 9e2582e57407 ("mmc: mediatek: fix SDIO irq issue") Cc: stable@vger.kernel.org [Ulf: Clarified commitmsg ] Signed-off-by: Ulf Hansson Signed-off-by: Greg Kroah-Hartman --- drivers/mmc/host/mtk-sd.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) --- a/drivers/mmc/host/mtk-sd.c +++ b/drivers/mmc/host/mtk-sd.c @@ -447,7 +447,7 @@ struct msdc_host { static const struct mtk_mmc_compatible mt8135_compat = { .clk_div_bits = 8, - .recheck_sdio_irq = false, + .recheck_sdio_irq = true, .hs400_tune = false, .pad_tune_reg = MSDC_PAD_TUNE, .async_fifo = false, @@ -486,7 +486,7 @@ static const struct mtk_mmc_compatible m static const struct mtk_mmc_compatible mt2701_compat = { .clk_div_bits = 12, - .recheck_sdio_irq = false, + .recheck_sdio_irq = true, .hs400_tune = false, .pad_tune_reg = MSDC_PAD_TUNE0, .async_fifo = true, @@ -512,7 +512,7 @@ static const struct mtk_mmc_compatible m static const struct mtk_mmc_compatible mt7622_compat = { .clk_div_bits = 12, - .recheck_sdio_irq = false, + .recheck_sdio_irq = true, .hs400_tune = false, .pad_tune_reg = MSDC_PAD_TUNE0, .async_fifo = true, @@ -525,7 +525,7 @@ static const struct mtk_mmc_compatible m static const struct mtk_mmc_compatible mt8516_compat = { .clk_div_bits = 12, - .recheck_sdio_irq = false, + .recheck_sdio_irq = true, .hs400_tune = false, .pad_tune_reg = MSDC_PAD_TUNE0, .async_fifo = true, @@ -536,7 +536,7 @@ static const struct mtk_mmc_compatible m static const struct mtk_mmc_compatible mt7620_compat = { .clk_div_bits = 8, - .recheck_sdio_irq = false, + .recheck_sdio_irq = true, .hs400_tune = false, .pad_tune_reg = MSDC_PAD_TUNE, .async_fifo = false, @@ -549,6 +549,7 @@ static const struct mtk_mmc_compatible m static const struct mtk_mmc_compatible mt6779_compat = { .clk_div_bits = 12, + .recheck_sdio_irq = false, .hs400_tune = false, .pad_tune_reg = MSDC_PAD_TUNE0, .async_fifo = true,