Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4436883ybb; Tue, 14 Apr 2020 07:18:57 -0700 (PDT) X-Google-Smtp-Source: APiQypKSO3IVWnMuVVPjp3sxREc9vo2ps+lcm6Ld14ZmUNzF6tpXs+6ixGRIMSejSva9VkqJ0BWX X-Received: by 2002:a17:906:390a:: with SMTP id f10mr367914eje.74.1586873937538; Tue, 14 Apr 2020 07:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586873937; cv=none; d=google.com; s=arc-20160816; b=uOQKBM2DSbSxwy1UeF0pY1csYV0Qk5/RS3/WZvPxQDrtUhfohu8AMw01XLNE+Sb3pS BrwBZBpbXsbgTONEn384LACzl8TezJWT93uznCzZzRCfKEYO4hEMC4bXSBUzFDYlbAZE byzz77b4PQXaEHGFMG6B815GYsr/H9LZwT628Q9F8vYlGwpyopnljM1FR0727A1V6xwS p2x9qkWE2+s/bqbdJ4EGS1J5LCv0AL2KYaTnX7Owf0OOIcoDqnCBYWJzYyD6gf2JSfF6 YXtRdKXGfGH5kzKsOuhYnwf60tnfCs8HSZSWZP7hlk/gzWoUJiudPwyheTR2RTXa5m9B oWIQ== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=JsY5/5MxfWy5R02rcWXL2W12h0vpsAqE2P25DGsOcwQ=; b=tZvITTfU02Bfl7lqP7wuXxvTpt2oi5I2TqBqOEFmNjfKRO2WhXP9TBCr0mC9cKWgBV rF1d+OA+I6NTLGO5Oo9DpFpk82YKzb3O5GrJFr+bLLVJEzZqKHVeo74F+K8GlZqO8jES IuxB9aORk5tluEbL2Gj6+DI8+1GAF7xdk0M0rt4PT8DFH/3Qwj2vPhiycYJhu7KYqKkA hPviaommUsZrs5hKeavA1yG1dVGz0dFzQRlEEqmpq4QnAjxsaceocWXHPt0prxSf2uVT 9ar6RHJJaM8R64AJUQwkMFIv2aImYT9qC0Qb+8E1JAMB9hGA2YQWjbDms8eYVBPBpRZZ 93+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qMawx4L1; spf=pass (google.com: best guess record for 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 j25si8495471ejt.59.2020.04.14.07.18.34; Tue, 14 Apr 2020 07:18:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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=qMawx4L1; spf=pass (google.com: best guess record for 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 S2404902AbgDNDlF (ORCPT + 99 others); Mon, 13 Apr 2020 23:41:05 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:9307 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2404876AbgDNDk7 (ORCPT ); Mon, 13 Apr 2020 23:40:59 -0400 X-UUID: b47fd18de3554a16b50955e8fdc3d0e0-20200414 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=JsY5/5MxfWy5R02rcWXL2W12h0vpsAqE2P25DGsOcwQ=; b=qMawx4L1R/SjXIumd+N18jT98mhib9GBHE/6xKN4SzsESCYRKHzRFy2RFV/S12IkcmRMtOP8nuA40Yr4WSdE1IqQrgFlKhNQXzUB0F78b2+qDR+6rcKIBXyD4YvKtI9zOZ1r+tTLDm5AIXe9awqXheBy1WtQ/Qr88X2Bb4VKYGQ=; X-UUID: b47fd18de3554a16b50955e8fdc3d0e0-20200414 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 903558651; Tue, 14 Apr 2020 11:40:55 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 14 Apr 2020 11:40:55 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 14 Apr 2020 11:40:49 +0800 From: Yong Mao To: Ulf Hansson CC: Chaotian Jing , Matthias Brugger , , , , , , yong mao Subject: [PATCH 2/3] mmc: core: rocr verification Date: Tue, 14 Apr 2020 11:40:10 +0800 Message-ID: <1586835611-13857-3-git-send-email-yong.mao@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1586835611-13857-1-git-send-email-yong.mao@mediatek.com> References: <1586835611-13857-1-git-send-email-yong.mao@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 RnJvbTogeW9uZyBtYW8gPHlvbmcubWFvQG1lZGlhdGVrLmNvbT4NCg0KU29tZSBVSFMgU0RJTyBk ZXZpY2VzIGNhbid0IGVudGVyIHRvIHN0YWJsZSBzdGF0ZSBhZnRlciBjaGFuZ2luZyB0aGUNCnZv bHRhZ2UgZnJvbSAxLjh2IHRvIDMuM3YgZXZl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