Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp296802pxa; Thu, 27 Aug 2020 02:34:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5bQpXfH6J1tB1KEE2RaqDyGYszF3Jw4UsuKMHFhdZIiySJC6cCBvw52Jm99nlRnf9P12I X-Received: by 2002:a17:906:19d5:: with SMTP id h21mr19666655ejd.505.1598520865459; Thu, 27 Aug 2020 02:34:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598520865; cv=none; d=google.com; s=arc-20160816; b=p4nAGB/DW/UNaaIFCVqqasZfvEsnwnQPhGStmx+2V4W1kwcXjkTVw/Vr80aFjMOwik awjwt+vgDlcf7c+zxUtfbxJDeCjFtI1NFod4PccTgWPh9N6Y2YDOwhNZvyRdcNn/4N45 P5KK0QLNf4IQoy9ul/2VvsSi5nMFdyBS+0ANRAnIX9umbUqQC0kiVDML/Mv7Yt/oZUC8 BYqG76/XMkIOAj/c2X1bPN/d7rRy8wGKm6GMvLGlvbIQH15VKkwaRgBDjvXnH2q4LOPI YAI/gZLVdJnpynBqVQovcH3tRsUBnUE9RKfeZMcxkXpptCrJS4CHHKkLvSLONX9dAkJr sUNg== 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=sOsx+/Ixg/H533GD9DuoQ2e+BVG8OHUWraoXKvxGaVM=; b=sJaxp2/Qdea4IZLI+PSMqn3uJEN31BnKEb1mEyn8ogRnhmg8Kg5w+LqEWOQgf/3pgV KxhavYy5hBShw9lYKIY92VSlFi7DVni26DLWa52xJyAfYnAA0ymMZySWxlf7UEMsYtsq 98ADy9eUdtmhyfSix2biE/pgdu7zmK1ck5vVmKd5w1lClINFUIoLi4Q6qC4uqGTVS7vI I04JqrchnHuH2mFsBkHUKkYqExLGC46e9DNBiNB9LqjRlpTHVvV2aiOyHedl1SEuaA0G w835iHkeLQno6PjpW+fgUHnavSM2h/MkBMLx42R0UZjzo0kyqt7qX7XisG4wegcpZJJf T/PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ddAY1fb9; 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 w14si984617eju.561.2020.08.27.02.34.03; Thu, 27 Aug 2020 02:34:25 -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=ddAY1fb9; 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 S1728303AbgH0JdY (ORCPT + 99 others); Thu, 27 Aug 2020 05:33:24 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:43919 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726851AbgH0JdO (ORCPT ); Thu, 27 Aug 2020 05:33:14 -0400 X-UUID: d56d71e04f374e5a8d0e659889c3b18c-20200827 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=sOsx+/Ixg/H533GD9DuoQ2e+BVG8OHUWraoXKvxGaVM=; b=ddAY1fb9gsdG55Iau0UxKuq5MXY4ZuY4ZXmYZxpmfUKMTwHei30ED9qft498qqU9svQVDLC0N9pDiKGfV/A9R15y+S/gXsTmo3SsMhYGNJBUWm+f9H1MUkOxaZVJ0iu/7Y1TklEIENV9OW5WLItJbVDsHkPCoq0opZZHV+qjZi8=; X-UUID: d56d71e04f374e5a8d0e659889c3b18c-20200827 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 876698712; Thu, 27 Aug 2020 17:33:09 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by MTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 27 Aug 2020 17:33:07 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 27 Aug 2020 17:33:08 +0800 From: Chun-Hung Wu To: , Jonathan Hunter , Al Cooper , Adrian Hunter , Florian Fainelli , , Andy Gross , Bjorn Andersson , Michal Simek , Thierry Reding , Chaotian Jing , Mao Yong , Ulf Hansson , Rob Herring , Mark Rutland , Matthias Brugger , Linus Walleij , Pavel Machek , Kate Stewart , Greg Kroah-Hartman , Martin Blumenstingl , Pan Bian , Thomas Gleixner , Allison Randal , Mathieu Malaterre , Asutosh Das , Ritesh Harjani , Stanley Chu , Kuohong Wang CC: , , , , , , , , , Chun-Hung Wu Subject: [PATCH v1 1/2] mmc: cqhci: add new cqhci_host_ops pre_enable() and post_disable() Date: Thu, 27 Aug 2020 17:33:02 +0800 Message-ID: <1598520783-25250-2-git-send-email-chun-hung.wu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1598520783-25250-1-git-send-email-chun-hung.wu@mediatek.com> References: <1598520783-25250-1-git-send-email-chun-hung.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 1A51BED8B7CD5237DD2E95BA511B67CCBDB8EA47EF3D2DB61BDEFA5BDD9EBA022000: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 QWRkIHByZV9lbmFibGUoKSBhbmQgcG9zdF9kaXNhYmxlKCkgZm9yIGNxaGNpX2hvc3Rfb3BzLg0K QWRkIGhvb2sgZnVuY3Rpb25zIGJlZm9yZSBjcWhjaSBlbmFibGUgYW5kDQphZnRlciBjcWhjaSBk aXNhYmxlIGZvciBwbGF0Zm9ybXMgbmVlZCB0aGVtLg0KDQpTaWduZWQtb2ZmLWJ5OiBDaHVuLUh1 bmcgV3UgPGNodW4taHVuZy53dUBtZWRpYXRlay5jb20+DQotLS0NCiBkcml2ZXJzL21tYy9ob3N0 L2NxaGNpLmMgfCAgICA2ICsrKysrKw0KIGRyaXZlcnMvbW1jL2hvc3QvY3FoY2kuaCB8ICAgIDIg KysNCiAyIGZpbGVzIGNoYW5nZWQsIDggaW5zZXJ0aW9ucygrKQ0KDQpkaWZmIC0tZ2l0IGEvZHJp dmVycy9tbWMvaG9zdC9jcWhjaS5jIGIvZHJpdmVycy9tbWMvaG9zdC9jcWhjaS5jDQppbmRleCBj ZmE4N2RmLi42OTdmZTQwIDEwMDY0NA0KLS0tIGEvZHJpdmVycy9tbWMvaG9zdC9jcWhjaS5jDQor KysgYi9kcml2ZXJzL21tYy9ob3N0L2NxaGNpLmMNCkBAIC0zNzYsNiArMzc2LDkgQEAgc3RhdGlj IHZvaWQgY3FoY2lfb2ZmKHN0cnVjdCBtbWNfaG9zdCAqbW1jKQ0KIAllbHNlDQogCQlwcl9kZWJ1 ZygiJXM6IGNxaGNpOiBDUUUgb2ZmXG4iLCBtbWNfaG9zdG5hbWUobW1jKSk7DQogDQorCWlmIChj cV9ob3N0LT5vcHMtPnBvc3RfZGlzYWJsZSkNCisJCWNxX2hvc3QtPm9wcy0+cG9zdF9kaXNhYmxl KG1tYyk7DQ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