Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3120654ybb; Mon, 6 Apr 2020 02:30:04 -0700 (PDT) X-Google-Smtp-Source: APiQypJ8NEKEsfeqC1dpxBkcLUbmgitvjTP1ZsXp4QGm/pofb1AhJm/Z2gFq4ffnZaFQqhi1slbM X-Received: by 2002:a05:6830:1541:: with SMTP id l1mr16760607otp.297.1586165404496; Mon, 06 Apr 2020 02:30:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586165404; cv=none; d=google.com; s=arc-20160816; b=XmnGw4lLS8LKafpcY8rFXJuMSEKU3es3z0XtrWioU8/B3DmhIgShvrD+qPyLX00HNQ fk9nHXb+0bjFMkR7x6Vqg6Ckln4+RmzYdY3JCnpc3QJGYiNxJwCHtnwKUc+BWgftHi0e KoHRrVN3q83kgwby31FivqxRJib0BZ2sfal7Jr57DA78GSNflCXlouZ1u7cF5DuAdVt9 rSHBEGAsWmkcqXZ2machsBwRPl/j4b1VGwy5W3D8DRVjJWvYRoJivvaghWNbrl7FFAIW yRXkoQdUC7E47yzO4UVOndPQ2YM1rvpGSl/ESjGP7/UHFjukOnafMjlyvBpCYNLY73y3 miKQ== 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=MWNDe8xiBMP9rQl7Ip5z2SzbYK+nzQInXthBu/WoeY4=; b=JdfD9PthSbEygcAwICDycP917A8P/5g0Bv0lMyIxh/OGNqXBoM/rM4Y4FeiSoDqkMl EHz3qq4A1fNm2lTES3tgvv0ycTCC+IimScPMbVfpqQi2LriYZtQcc7Nqez1P6pez0pO+ SdijrOMem05IY++extyrl7mXgRPvyqsTiFqtYV3ePlE3lBlhq9k7DEBA1yiD/VB55jfI 72M9/kwxFEFUTARunoxr5ppQFtVoF8BXXT7Dlqo7UQHGeLEgWjbUYj7DPRBPhW32Xl3m mK/U8BPP1U05Kek02FRRXVecXkyDOF6l/aovFdl9nNfpK9Zl7RGBHwW8MfJ7NWriiE42 j/gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=SPJXejwP; 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 t10si6605981otq.23.2020.04.06.02.29.52; Mon, 06 Apr 2020 02:30:04 -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=SPJXejwP; 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 S1726766AbgDFJ21 (ORCPT + 99 others); Mon, 6 Apr 2020 05:28:27 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:22353 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726621AbgDFJ2X (ORCPT ); Mon, 6 Apr 2020 05:28:23 -0400 X-UUID: 1955524c2a5a4241a0b1b4b93527f277-20200406 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=MWNDe8xiBMP9rQl7Ip5z2SzbYK+nzQInXthBu/WoeY4=; b=SPJXejwP86lXCRSA/h1CdJVVoQx3OSO2PCusnTh5m3ug5sVTY5ID/dOpTgrty0mo2iFYErC7jXbqZyitRPBB5RsPr/Z1qDEBNvVlKoswjDdeRUxg/g6YKap/YXDbthFYkb2ydpvYJonHtcUI+MyFpxBpag702L9cMgMPigBSbTo=; X-UUID: 1955524c2a5a4241a0b1b4b93527f277-20200406 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 724451446; Mon, 06 Apr 2020 17:28:04 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Apr 2020 17:28:03 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 6 Apr 2020 17:28:02 +0800 From: Chun-Hung Wu To: , Jonathan Hunter , Al Cooper , Adrian Hunter , Florian Fainelli , , Andy Gross , Bjorn Andersson , Michal Simek , Thierry Reding , Chaotian Jing , 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 , Stanley Chu , Kuohong Wang CC: , , , , , , , , , Chun-Hung Wu Subject: [PATCH 2/5] [2/5] mmc: host: Remove redundant host CQE bindings Date: Mon, 6 Apr 2020 17:27:58 +0800 Message-ID: <1586165281-11888-3-git-send-email-chun-hung.wu@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1586165281-11888-1-git-send-email-chun-hung.wu@mediatek.com> References: <1586165281-11888-1-git-send-email-chun-hung.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 3A9531E2BC7618BFEB04D1E964ADCBD4D2135A383C34C28A1E705DD966F2B10A2000: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 Q1FFIGJpbmRpbmdzICJzdXBwb3J0cy1jcWUiIGFuZCAiZGlzYWJsZS1jcWUtZGNtZCIgaXMgcGFy c2VkDQppbiBtbWNfb2ZfcGFyc2UoKS4gUmVtb3ZlIHZlbmRvciBjb2RlIHdoaWNoIHBhcnNlcyBD UUUgYmluZGluZ3MsDQphbmQgdXNlIG1tY19ob3N0LT5jYXBzMiB0byBkZWNpZGUgc3VwcG9ydCBD UUUgb3Igbm90Lg0KDQpTaWduZWQtb2ZmLWJ5OiBDaHVuLUh1bmcgV3UgPGNodW4taHVuZy53dUBt ZWRpYXRlay5jb20+DQotLS0NCiBkcml2ZXJzL21tYy9ob3N0L3NkaGNpLWJyY21zdGIuYyAgIHwg MTEgKysrKysrLS0tLS0NCiBkcml2ZXJzL21tYy9ob3N0L3NkaGNpLW1zbS5jICAgICAgIHwgIDMg Ky0tDQogZHJpdmVycy9tbWMvaG9zdC9zZGhjaS1vZi1hcmFzYW4uYyB8ICAzIC0tLQ0KIGRyaXZl cnMvbW1jL2hvc3Qvc2RoY2ktdGVncmEuYyAgICAgfCAgMiArLQ0KIDQgZmlsZXMgY2hhbmdlZCwg OCBpbnNlcnRpb25zKCspLCAxMSBkZWxldGlvbnMoLSkNCg0KZGlmZiAtLWdpdCBhL2RyaXZlcnMv bW1jL2hvc3Qvc2RoY2ktYnJjbXN0Yi5jIGIvZHJpdmVycy9tbWMvaG9zdC9zZGhjaS1icmNtc3Ri LmMNCmluZGV4IGFkMDFmNjQuLjA3YzkwYzYgMTAwNjQ0DQotLS0gYS9kcml2ZXJzL21tYy9ob3N0 L3NkaGNpLWJyY21zdGIuYw0KKysrIGIvZHJpdmVycy9tbWMvaG9zdC9zZGhjaS1icmNtc3RiLmMN CkBAIC0yNDcsMTAgKzI0Nyw2IEBAIHN0YXRpYyBpbnQgc2Ro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