Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3914323ybz; Tue, 28 Apr 2020 02:32:40 -0700 (PDT) X-Google-Smtp-Source: APiQypIb366bmtThz6CGOjgKrwaD0OWf2Zy2PXa0YK2hCGbPirwMAjVBU8XfLRPSnA///795Ss3e X-Received: by 2002:a17:906:8609:: with SMTP id o9mr24537950ejx.361.1588066360118; Tue, 28 Apr 2020 02:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588066360; cv=none; d=google.com; s=arc-20160816; b=MJWrs6JsKvejsP8aQge2GhoTwZjnei81YiGyLB9SONW9Ni/9I7Az9lMKbb9Rm4fOUl zEYwKyf9ybyG8L9lzdVEUgNbDeX0tJUOlEwWx/DpQB/8MIA5SFkUazYRqOVrjAWaXJgt WL3MZg2tWeDtOmO0YtG5xp4IG8iSVqvyhaBOMPgzCZHn3nBX1BcTPiomzicGOMuPkNcG /wN9oSR7CSiF51JTvcqwuWGNO88HgEmkNtt52tcBC6up80kJI2+TtMhibrXSJP14ztMM u+M9f8788+uPMdos/p75lMpdQ/DfJcDmIPXAL/5F7ldoDSCQvqxXwIDGpJ7DrcfWUemN lPrg== 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=m3Ksv+ksgjGvXF0pXLMlpIAwkf0dzAHmcRs39NPBbsk=; b=G9FYzvTdMxW+C7H4UYNViva115wJOwkTuJKVPHHSNopnW5OMeft9w5JBlaiUybCYsC GKggwIDa/wEVqAppCL3Cs2bjP12qm4AaUUIx9lb5m7ncQO+88aL7KFx7iQsAdXVzoz5/ /izUnf+GUzTyNnvp8YzsnyHkMUyitPL9/RvKkB8zrI0lnsfxzWbQYUNEj7/8EdDr/PqJ D3J7nofN5fG0QQNyH4NS/t20bDdSrNM+cSnxh68tlg2GKjvvrXsBPGhnAD3OgvQTpFp5 wwXKJsvPFoztU3gEfi7wlkuW4Jrs2lZuUmkTN6Ru1kHelNEfD4JeYZ3K6SmdmMCvihaU 1GGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=B20eOiTh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si1423094edo.434.2020.04.28.02.32.16; Tue, 28 Apr 2020 02:32:40 -0700 (PDT) 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; dkim=pass header.i=@mediatek.com header.s=dk header.b=B20eOiTh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727094AbgD1J2V (ORCPT + 99 others); Tue, 28 Apr 2020 05:28:21 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:13345 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727052AbgD1J2U (ORCPT ); Tue, 28 Apr 2020 05:28:20 -0400 X-UUID: 4a60755f4a87498cac1ad9f5b1dafff0-20200428 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=m3Ksv+ksgjGvXF0pXLMlpIAwkf0dzAHmcRs39NPBbsk=; b=B20eOiTh7l/29srMJjLhvV6XU6dgavF3w0G5qapIRMzTQERJSWLXte/kGX19TPu/goL6PaCf7AHznx0QVxyIeSgqbT45LX3rChPq6vEVyB9bS9Rd/VaAToJ3TVslxM5LKvd+tiBhtlPazL2156Yd0Q/+9usO3eRk207zoAz0/XM=; X-UUID: 4a60755f4a87498cac1ad9f5b1dafff0-20200428 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 2093172434; Tue, 28 Apr 2020 17:28:08 +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.1497.2; Tue, 28 Apr 2020 17:28:04 +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.1497.2 via Frontend Transport; Tue, 28 Apr 2020 17:28:04 +0800 Message-ID: <1588066038.30914.28.camel@mhfsdcap03> Subject: Re: [PATCH 1/3] mmc: core: need do mmc_power_cycle in mmc_sdio_resend_if_cond From: "yong.mao@mediatek.com" To: Ulf Hansson CC: , Chaotian Jing , "Matthias Brugger" , "linux-mmc@vger.kernel.org" , Linux ARM , "moderated list:ARM/Mediatek SoC support" , Linux Kernel Mailing List , srv_heupstream Date: Tue, 28 Apr 2020 17:27:18 +0800 In-Reply-To: References: <1586835611-13857-1-git-send-email-yong.mao@mediatek.com> <1586835611-13857-2-git-send-email-yong.mao@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: BAFC90E4F4919F58F4A0398CAB2A7E72863110198F1657AD58274E69C3418E782000: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 DQpPbiBGcmksIDIwMjAtMDQtMjQgYXQgMTI6MDkgKzAyMDAsIFVsZ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