From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=hao.a.wu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9664B21AE30DB for ; Mon, 17 Sep 2018 18:34:22 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Sep 2018 18:34:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,387,1531810800"; d="scan'208";a="258100687" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga005.jf.intel.com with ESMTP; 17 Sep 2018 18:34:19 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 17 Sep 2018 18:34:19 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 17 Sep 2018 18:34:19 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.143]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.150]) with mapi id 14.03.0319.002; Tue, 18 Sep 2018 09:34:17 +0800 From: "Wu, Hao A" To: Marcin Wojtas CC: edk2-devel-01 , Tomasz Michalec , "nadavh@marvell.com" , "Gao, Liming" , "Kinney, Michael D" Thread-Topic: [edk2] [PATCH v3 2/3] MdeModulePkg/SdMmcPciHcDxe: Fix SdMmcHcReset to set only necesery bits Thread-Index: AQHUTUMh9ALk2UU6SUmpMyHacm26ZqT0EL6g///82gCAATJEcA== Date: Tue, 18 Sep 2018 01:34:16 +0000 Message-ID: References: <1537050346-16445-1-git-send-email-mw@semihalf.com> <1537050346-16445-3-git-send-email-mw@semihalf.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v3 2/3] MdeModulePkg/SdMmcPciHcDxe: Fix SdMmcHcReset to set only necesery bits X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2018 01:34:22 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXJjaW4gV29qdGFzIFttYWls dG86bXdAc2VtaWhhbGYuY29tXQ0KPiBTZW50OiBNb25kYXksIFNlcHRlbWJlciAxNywgMjAxOCAx MTowMCBQTQ0KPiBUbzogV3UsIEhhbyBBDQo+IENjOiBlZGsyLWRldmVsLTAxOyBUb21hc3ogTWlj aGFsZWM7IG5hZGF2aEBtYXJ2ZWxsLmNvbTsgR2FvLCBMaW1pbmc7DQo+IEtpbm5leSwgTWljaGFl bCBEDQo+IFN1YmplY3Q6IFJlOiBbZWRrMl0gW1BBVENIIHYzIDIvM10gTWRlTW9kdWxlUGtnL1Nk TW1jUGNpSGNEeGU6IEZpeA0KPiBTZE1tY0hjUmVzZXQgdG8gc2V0IG9ubHkgbmVjZXNlcnkgYml0 cw0KPiANCj4gSGkgSGFvLA0KPiANCj4gcG9uLiwgMTcgd3J6IDIwMTggbyAwOToxNyBXdSwgSGFv IEEgPGhhby5hLnd1QGludGVsLmNvbT4gbmFwaXNhxYIoYSk6DQo+ID4NCj4gPiA+IC0tLS0tT3Jp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