Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp56513ybh; Tue, 10 Mar 2020 19:14:46 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv5vBvnqzO6nS9yUYPrOYfcT5ruXPTkDejkP5+aUkBNWwCmXJXS2p+IK/tnfhXnrIWLBU5t X-Received: by 2002:aca:4e47:: with SMTP id c68mr465849oib.16.1583892886020; Tue, 10 Mar 2020 19:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583892886; cv=none; d=google.com; s=arc-20160816; b=SIBmf59uyvsuRcbrhZEUqzFjaf/fRSaZoXj2c+naa+mjjt7RIrB/4s5CNdv1JEXUAh 2sA5Ui7g7Ea5qohpiifcAl5Pa2fOYUTT5VNF4Of1E//ZqoG94dpAyZKQqo0GC6GhhWEZ QdYwHAfjLgExJU6vT/aOQS6OB8VZevc8WKyUHwY+GK4EMSBtNGpF6OZOXPya+FfXSSYS 8WOMRCYokgL4rA9q2+RdINtjUd93DFM6F+x+SICTENxXkyJGjtueqLE1w7S4bXNDur6I mI+Ou76rhIU0Ly2/0rqmR4fnnCTkZaidEOZx+mKApbWGcS3ggtA8kvYMVFXDrcofNtAS aMQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=eHyDzzzQzAR6JtKByln/bitPmsMF+K7rggSluh9gcpE=; b=K42DEq+TudoUQ02sfhcJ0OifzVDvyH5lhdpdT3T/JjWep45xIlLErid9vvPG9A1EIZ zdiKDgZA2GMCmpjIi745tALTLhGwVtE86kTB9Urr/KYASWdHIl/hT4/slISNnwsvXjZz kZ1R4X1TM0Oxg6pM/2nrtKrmvB4/jY5o4dzXF3sF3OsarS2uQQnog6WyKf4NEqnlDMjq dP6OA9ZSEnTJkScEXZkJGGpF4M2bpltDvsa13xxYLtQ3wfSdZBBSKRmmnMXPegmYwIce 99+DIWsufitV00sZt4acnxQyApgJQj89E9Sg7bS6DUKFf7/cNInX4WiIFCX7f/ofbzE8 ruMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=D8AL8R5i; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x23si275009otp.249.2020.03.10.19.14.33; Tue, 10 Mar 2020 19:14:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=D8AL8R5i; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727941AbgCKCNr (ORCPT + 99 others); Tue, 10 Mar 2020 22:13:47 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:26415 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727506AbgCKCNq (ORCPT ); Tue, 10 Mar 2020 22:13:46 -0400 X-UUID: 218c2fd95ab34211a8a2d29563292645-20200311 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=eHyDzzzQzAR6JtKByln/bitPmsMF+K7rggSluh9gcpE=; b=D8AL8R5iN87jeN7frLfJS6eNwEoZEtulWZ+lH7fzRJYCZK7RHvRuh5I5pUmT2Vc7LLMYJG+1Kfc1eCmHj/WyicRLUnLUknKy2e7MlkzSqFFP617Wbfx6bj2Q+AtRi7fLAym4ktL3WiVFvIRRrWB4csHqAAB8gk49r6mxwpj86uE=; X-UUID: 218c2fd95ab34211a8a2d29563292645-20200311 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1635624644; Wed, 11 Mar 2020 10:13:37 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 11 Mar 2020 10:11:55 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 11 Mar 2020 10:13:03 +0800 Message-ID: <1583892806.24941.7.camel@mhfsdcap03> Subject: Re: [PATCH] mmc: mmc: Fix the timing for clock changing in mmc From: Chaotian Jing To: Ulf Hansson CC: Adrian Hunter , "Seo, Kyungmin" , "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List Date: Wed, 11 Mar 2020 10:13:26 +0800 In-Reply-To: References: <20200212024220.GA32111@seokyung-mobl1> <5f3b8cb9-5e55-ee47-46e5-af019d6328b6@intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 9B0AA9BD5B97F94CCFC5924657ABB18489DF020570DF3153483317F51FCDCD392000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIwLTAzLTEwIGF0IDE2OjQxICswMTAwLCBVbGYgSGFuc3NvbiB3cm90ZToNCj4g T24gVHVlLCAxMCBNYXIgMjAyMCB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