From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 E3161C2BA2B for ; Wed, 15 Apr 2020 03:56:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD0C22078B for ; Wed, 15 Apr 2020 03:56:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393059AbgDOD4N (ORCPT ); Tue, 14 Apr 2020 23:56:13 -0400 Received: from inva021.nxp.com ([92.121.34.21]:46510 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733225AbgDOD4M (ORCPT ); Tue, 14 Apr 2020 23:56:12 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id A78A6200716; Wed, 15 Apr 2020 05:56:10 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E40FB20071C; Wed, 15 Apr 2020 05:56:07 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 36D8E40293; Wed, 15 Apr 2020 11:56:04 +0800 (SGT) From: Yangbo Lu To: stable@vger.kernel.org Cc: Yangbo Lu , Greg Kroah-Hartman , Sasha Levin , Daniel Walker , Ulf Hansson Subject: [v5.5] Fix up eSDHC issue on P2020 Date: Wed, 15 Apr 2020 11:52:11 +0800 Message-Id: <20200415035212.19139-1-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The upstream commit broke P2020 eSDHC. fe0acab mmc: sdhci-of-esdhc: fix P2020 errata handling While the issue was fixed by later commit. 2aa3d82 mmc: sdhci-of-esdhc: fix esdhc_reset() for different controller versions The commit fe0acab had been applied to stable kernel 5.5, 5.4, 4.19, 4.14, 4.9, and 4.4 without that fix-up. To fix up P2020 eSDHC on the stable kernels, backport the fix-up 2aa3d82 kernel 5.4 and 5.5. Please help to revert fe0acab on 4.19, 4.14, 4.9 and 4.4, since there are many conflicts to cherry-pick the fix-up, and fe0acab is actually not strongly required for handling errata which is hardly triggered. The email thread for the issue discussion. https://www.spinics.net/lists/stable/msg375823.html Yangbo Lu (4): mmc: sdhci-of-esdhc: fix esdhc_reset() for different controller versions mmc: sdhci-of-esdhc: fix clock setting for different controller versions mmc: sdhci-of-esdhc: fix transfer mode register reading mmc: sdhci-of-esdhc: fix serious issue clock is always disabled drivers/mmc/host/sdhci-of-esdhc.c | 174 +++++++++++++++++++++++++------------- 1 file changed, 114 insertions(+), 60 deletions(-) -- 2.7.4