Message ID | 20211123200347.3772343-7-sean.anderson@seco.com |
---|---|
State | Accepted |
Commit | 4ea11bf241cc19612fc1352d886e64890561f344 |
Delegated to: | Jaehoon Chung |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=secospa.onmicrosoft.com header.i=@secospa.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-secospa-onmicrosoft-com header.b=HdsVEzYN; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HzFWB3Wncz9s5P for <incoming@patchwork.ozlabs.org>; Wed, 24 Nov 2021 07:05:42 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4963C83731; Tue, 23 Nov 2021 21:04:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=seco.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=secospa.onmicrosoft.com header.i=@secospa.onmicrosoft.com header.b="HdsVEzYN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DAF2783720; Tue, 23 Nov 2021 21:04:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on062a.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::62a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 43CEB81FD5 for <u-boot@lists.denx.de>; Tue, 23 Nov 2021 21:04:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=seco.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sean.anderson@seco.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QUpzznaQuyGHyGQgzUX4g1bn1Oxgzzyx5wVV66vjNfREa6gj/mp9+JXwQSMdmgLlE30ahypuhefqOIrAgXz5rwqH3HuCUFguRbN/NKbNA3eqBIFTar3zZ1WIqwHNIx3LNDckKDwYm5fzRAs/4R9Cwzy28HMQlLLn39zZjpEJ1OYFBc7Snkoo2tUDhmk4Y/YE36/26B6wwTfFds8jwELmAY/Mz7tpMENdQNlkF9Q2npn0xyhtLXp2+0qv8iGE2JLsiMi/Sz3TlTsosv/YLvPSLa2kxiax8UAZpFQRL2U5VxtMDVlNEOrGGQupXd5GHMN2GUvGwzjeIC9tMXNC3LxyZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aMw701PSNB08jK3nB4b+tw1JySAHD4aFspXd3JJTiwQ=; b=e+y3lnUI+90uHd4mKNgmPkI0vOc4DOxMTcwHQMI6tn+3nQxQ4W69mUb7vOnKi/Hhi57VMLUD6fWNs3O70PPFhhzxlEna/ofJYfZz5AQgj9GEuUaxUPrWLCBrcWGetOx21i0OjKa8JeCrKergPZ1w5GmXZIakvQREJzmA5GzfmWK6PScLAA60qTr1ClWY0xnqjVnRrlFl5vU5IUhGxfq/PxLagENvJPg90dTxdwwMvK+91AUdBMghgNERQrlYE67Zp4ngJ4/ko6jJes2qUbh3mPhDVjYmaihWTurK5Jl+wXNMmH9g9+zHNU5qicAIlufafzCQCO+ooDeppJ0bEMx+2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secospa.onmicrosoft.com; s=selector2-secospa-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aMw701PSNB08jK3nB4b+tw1JySAHD4aFspXd3JJTiwQ=; b=HdsVEzYNjcmF7CEIPC1RZEtrp8r65MKtJRg66D66lIPgt4/MFRaZPQyxMJyuha+CcGRzC0yzUCahaCTjtgdGqWV1W0v3BEWWu1Wxn6gVz4hRuIxB5nTqkMpjkqW39+O12VDCSgyGRByYYiDbVxdrD6h0O01LXjtv2dTX6cT1O48= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from DB7PR03MB4523.eurprd03.prod.outlook.com (2603:10a6:10:19::27) by DBBPR03MB7097.eurprd03.prod.outlook.com (2603:10a6:10:1f5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.24; Tue, 23 Nov 2021 20:04:15 +0000 Received: from DB7PR03MB4523.eurprd03.prod.outlook.com ([fe80::9093:a60b:46b7:32ee]) by DB7PR03MB4523.eurprd03.prod.outlook.com ([fe80::9093:a60b:46b7:32ee%4]) with mapi id 15.20.4713.025; Tue, 23 Nov 2021 20:04:15 +0000 From: Sean Anderson <sean.anderson@seco.com> To: u-boot@lists.denx.de, Peng Fan <peng.fan@nxp.com>, Jaehoon Chung <jh80.chung@samsung.com> Cc: Haibo Chen <haibo.chen@nxp.com>, Fabio Estevam <festevam@gmail.com>, Yangbo Lu <yangbo.lu@nxp.com>, Michael Walle <michael@walle.cc>, Sean Anderson <sean.anderson@seco.com> Subject: [PATCH v3 06/12] mmc: fsl_esdhc_imx: fix mmc->clock with actual clock Date: Tue, 23 Nov 2021 15:03:41 -0500 Message-Id: <20211123200347.3772343-7-sean.anderson@seco.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211123200347.3772343-1-sean.anderson@seco.com> References: <20211123200347.3772343-1-sean.anderson@seco.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MN2PR06CA0022.namprd06.prod.outlook.com (2603:10b6:208:23d::27) To DB7PR03MB4523.eurprd03.prod.outlook.com (2603:10a6:10:19::27) MIME-Version: 1.0 Received: from plantagenet.inhand.com (50.195.82.171) by MN2PR06CA0022.namprd06.prod.outlook.com (2603:10b6:208:23d::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.19 via Frontend Transport; Tue, 23 Nov 2021 20:04:13 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 10ddbe3a-a999-4f40-3a15-08d9aebc6c9c X-MS-TrafficTypeDiagnostic: DBBPR03MB7097: X-Microsoft-Antispam-PRVS: <DBBPR03MB70976080BA156DCC418424E796609@DBBPR03MB7097.eurprd03.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:110; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: We6MQWtsler3DX6x+xsEME7qEVBt1IBRuQMy56A09IRvhuZUMVAO3nNPmCR2YUojjPCqlN2e94ZAopo21VHUOyLuf7jRpGKllDf89/gIBOY56REA/sDF+5h+vXxRRKaM+2Qb29AXPyJaju3BSAYCEBvm4ZFWd2/3YchFx1EAaGUMz4qzYLiwrFksvQPNQKzpBw90r6DwHygbhHAcxf1BKSPvstNoQpb+yHHbmvz9gfBn07zA5MdKzJbv3f6PafRhBigT3GF0eFACg7yzs3X40paGxCZiYanwW/OnZsFlaaRsduZzxbs+5pLxHYlrgy6QfXsrhVVQjCbS9sRn1rhlGRq4ov10RBOsjSBei6Ccfi5bwuA+aF7dot5jdpXS7+w0LC8PlLatE6f3eLZ9C/Scdg8OVRRKU4vhTVDqQlPkcbyjQzciCv4Yin+GqmuEJgfL+HZZR932CX4h5YxrlWkDKhKp0BhEu9mBZOXwNOl+CmQICI61MRXeAmcQssM1Zxf1knwTf6cTXr/Sp5rkWY1muJMqA3aFHaNXoDUY1+yVP9HZY0uZ8qDaXn/M41FviTSeG0b8WLM4nYWy54R+8jGXYyT3rpvj2ERPU/ZWgdNaO0fvjAqngFqqCoHnJA+UzcpBbolaruXLdaBlmacKlcbshobNNcug4DJR8ihd9iABoLYNeaySPow4HKC0GElJldDL4whu5AcesFCj0y3HVO24QA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR03MB4523.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(26005)(8676002)(4326008)(107886003)(186003)(8936002)(38350700002)(38100700002)(6506007)(86362001)(1076003)(2906002)(52116002)(5660300002)(6666004)(54906003)(6486002)(4744005)(110136005)(316002)(2616005)(83380400001)(66476007)(6512007)(44832011)(956004)(36756003)(66946007)(66556008)(508600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: scl1Vbr3CvkzCjC9OicbauN5uQYPOCZtSe721pB1LdDOGoidpn4FYAMxzmf5RzhABsoPFanugEUNTQJ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hNf6Jse7UgrqPmFHKm7s+T05KDIh1KCW3MZpuDKEWI7quFfbM2yTuvFkwm3eUgZ8ta9q2tzWONdhSo7J+FPCoqzHQsU2rB6r0MgYmFeHr+qIDsoJRdaT6KKfKMSJII3mVd9+0vD1oWd0OwrAhCV0xObiPudR2pEvoofUeGLGEOIyoNRlynA/rU3X13Uy6rFWHjBQR238s0iBG2T6l0Gv4cDPpop64LVaDNH7ciL9XoOFQmZ9nvGHVXvWuHqjfBW39lnoiWD9IUV4jDsNJmhqvPyBrUETnE2cYT0IzFV9ujwUHCuAz2OJwP2NlNW0sQkK5mXd09u2A9yWwU/vafJOwkU0QqbyzA38DJ5qlOyJpvF1a2oxdB/SKNFmY+rnEgm/lvoAFkhkhVeNOUmcZAU8R1I5esYfa+FFw3mKJohmYBbqKhnWyWI7rDQaOboAhLqHCTg6HBDYEDpF3xK/Z3JEP4xZ5R1+egGj7dSi3QbUJ+Al8= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 10ddbe3a-a999-4f40-3a15-08d9aebc6c9c X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4523.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2021 20:04:15.0957 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: u81k373iCjkifNyHm/ZFYeZppWJbncXIz6op9Cu+4eTdZA3KVqUy++F41whlOl58kf2n+SRL37wg787xvUX+nQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR03MB7097 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
fsl_esdhc_imx: port several patches from fsl_esdhc
|
expand
|
diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c index 4d2d757723..72f3eec205 100644 --- a/drivers/mmc/fsl_esdhc_imx.c +++ b/drivers/mmc/fsl_esdhc_imx.c @@ -665,6 +665,7 @@ static void set_sysctl(struct fsl_esdhc_priv *priv, struct mmc *mmc, uint clock) esdhc_setbits32(®s->sysctl, SYSCTL_PEREN | SYSCTL_CKEN); #endif + mmc->clock = sdhc_clk / pre_div / div; priv->clock = clock; }