Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2585951ybz; Sun, 3 May 2020 04:36:26 -0700 (PDT) X-Google-Smtp-Source: APiQypI6TlbHri1NHhcX9NAadnjuSpmewf55529SOil4TOAkwWE1MQOR+A+UIdX/33YachLl5LM+ X-Received: by 2002:a17:906:304d:: with SMTP id d13mr10053939ejd.159.1588505786494; Sun, 03 May 2020 04:36:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588505786; cv=none; d=google.com; s=arc-20160816; b=rSCtqzd4UCqbCYrgFp4WAIgzmdCSoUMtNwed2UMQzIERP7ftSkYL/YqqTGU/CtZCHi /IZjeZXVoW4WjVAE4kLqu49WZFzpdxzFm0oDRl9sdY7wqgVUqIM1onZ8vCp4e93HJAJ1 hlXrcA7G3ucdpg7c1LH+nsXjRxsneYegDBjwmkXFwU78jCvU9+IsfSy8R5CAtwzgROgx JhIGQLNHYPByYJPZras5QXCLvLM4KdH3xiclgh22tyS4k/s3zDLzwPg93GpNBhazw79E c9BouqASH5vbvWI/ShiIAIkShtUKQ6q325HBFsWmMmzN0IlPo9LvDZ6OP1dXJU5NTTY8 t0BQ== 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=axYdivepqlgkjKZMDc+q6wcYI5dYnIuDFbudgz9mHU4=; b=BHOQZxWyG769PuBCTrig8vmoBoy70lmiwEoLk2l7WsWsCZ3VR5JBmmfCXGuyxDgHvO ePWtP9JiVKodLfNJuSwOosjZ5UCwbMXWOoZQSJefmgkKCgVNtUXrS2Zo7uArtDYaSJwq rRHY7n/h/5W49sR8y2m1kbLsLlDOoMd71Ielp1Qzr9xyCA47qgx7l574yQg4xZcxJuq4 tJZaci0KfuKVUPutuEFET8gjl1zBBfrKPJeuQmMyHau0xP2W67TeTVgi/COrSaMUU1MT 9RKK+B0J9rrHVz7DOfBsKZBQtrrOdPOpd/3VOafw6xb3HAkc79d8p6j0UqIzQZEzyKcE cmRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=J9gdN2wq; 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 s18si4967775ejr.449.2020.05.03.04.36.03; Sun, 03 May 2020 04:36:26 -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=J9gdN2wq; 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 S1728278AbgECLeg (ORCPT + 99 others); Sun, 3 May 2020 07:34:36 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:35345 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728179AbgECLea (ORCPT ); Sun, 3 May 2020 07:34:30 -0400 X-UUID: d0895c97e6ba411d95dbc5acded5a71a-20200503 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=axYdivepqlgkjKZMDc+q6wcYI5dYnIuDFbudgz9mHU4=; b=J9gdN2wqmeFfMhq81B5f26t2Ez+ypCqnL6tRxRC1ITLKnVbb9KE7loB3hlk3LDoEveT5/JMQSYS91d3+WxUCkx+0AxCFz+G/aA28eeNtemKuI9ox1wyVWHn6ygqjboGM/+teA8SNW6e29Y7FXNgu6I5CjhtNb1iVc2DAjblaEy0=; X-UUID: d0895c97e6ba411d95dbc5acded5a71a-20200503 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 329027795; Sun, 03 May 2020 19:34:25 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 3 May 2020 19:34:16 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sun, 3 May 2020 19:34:16 +0800 From: Stanley Chu To: , , , , , CC: , , , , , , , , , , , Stanley Chu Subject: [PATCH v5 2/8] scsi: ufs: introduce fixup_dev_quirks vops Date: Sun, 3 May 2020 19:34:09 +0800 Message-ID: <20200503113415.21034-3-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200503113415.21034-1-stanley.chu@mediatek.com> References: <20200503113415.21034-1-stanley.chu@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 U29tZSBVRlMgZGVpdmNlcyBtYXkgaGF2ZSByZXF1aXJlZCBkZXZpY2UgcXVpcmtzIG9yIGhhdmUg bm9uLXN0YW5kYXJkDQpmZWF0dXJlcyB3aGljaCBhcmUgZW5hYmxlZCBvbmx5IG9uIHNwZWNpZmll ZCBVRlMgaG9zdHMgb3IgZm9yIHNwZWNpYWwNCmN1c3RvbWVycy4NCg0KVG8gbm90ICJwb2xsdXRl IiBjb21tb24gZGV2aW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