Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp847853ybg; Tue, 28 Jul 2020 22:20:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSHHpPHz56KLwK+UR488FIlmraP+aVVYYD+lCn3LFqvEOS149Tk/4PtwZJubxA+F3pxdAK X-Received: by 2002:a05:6402:13d0:: with SMTP id a16mr29096015edx.269.1596000004786; Tue, 28 Jul 2020 22:20:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596000004; cv=none; d=google.com; s=arc-20160816; b=p9LzQGO4IK5ZBuAvKu0lXudnm2+Pj7SMuZFlyN0Zsa+tCy3WrnP17QyfAuuJGBKYz5 +9L3BKZuT7B4LpEo0oAS4SV30pqd0jMfhyRSiWSq64cMgNvxABeakmlzHNsefA5Zmte7 faEyi0+r1drE/2N4X7UEUJ+YycyLDK92EqhAS+V2qsA4QQ4SPu0n1Bd7EIfW+dvgEoFQ 0udYqT5ho+qNVTe2Hd+XPqugy0aVJ1Rba5PQ8RuMOxtlKHWbNdetqxpBgLQK7N/Y0Kyq cqMZKZunmGt395lWzW+yvFr1TdksQjnW/XjWvnPRjMwErKTfsDavvDiKoVWKGcYA84h2 g0qg== 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=AiW8oR0hft7D4lqwhgoiimjhk6Sk5LoavMLolAc9+uE=; b=l03lArA+7XlBiBnTCQwd71qh0WUNBsxE2Dtg9ccjyk2tYwt1eZMm/hcAdE1O/Y23vr qGch0RUMEkK+sj4J2FJG9ltTD42Mv6hOqJqbupjuU2Z73hOOKMyAuhvRqw9RBgca+414 3w1iE/N9Z4zU3rI/jLnSyVOqwpK5GOWPgLLzm+84Z2tzNrzTm6AvAHLj/UENW1lmV/fL N0odrhwVNLcYfar6xA8xKJfF2xSgTdDA9sQTwdd2JT9gDTfOdxl8W760H+l/cTxFuPYe 9nH9O790Rk79KK1jNnOC1ShAoLxj2Acy0K0i9XMkQaeCiLdLIyDoM5qE45PXPF7l3gS6 251g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kMAixCiS; 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 a8si637626edn.422.2020.07.28.22.19.43; Tue, 28 Jul 2020 22:20:04 -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=kMAixCiS; 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 S1726880AbgG2FSw (ORCPT + 99 others); Wed, 29 Jul 2020 01:18:52 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:41150 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726054AbgG2FSw (ORCPT ); Wed, 29 Jul 2020 01:18:52 -0400 X-UUID: fb8c768a8ce64b0f88330079f964f83e-20200729 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=AiW8oR0hft7D4lqwhgoiimjhk6Sk5LoavMLolAc9+uE=; b=kMAixCiS+/p1KXt1K1WXEZdN5icS/7d/+Q05fBuS4NUMeqRsR667H0V32ff3mcABeWMM44IJYhCIpCpedZndvE8Q/FCL8fMp/iUDsaoieu1OI9VnTTjHQ9k4JVyIiUEIJ6bR4ymf6j8tQN/Uo0Bd2lsh2CEfjwUEiuaLwC4YD7Q=; X-UUID: fb8c768a8ce64b0f88330079f964f83e-20200729 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 154831121; Wed, 29 Jul 2020 13:18:48 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 29 Jul 2020 13:18:41 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 29 Jul 2020 13:18:37 +0800 From: Stanley Chu To: , , , , , CC: , , , , , , , , , , , , , Stanley Chu Subject: [PATCH v1 1/2] scsi: ufs: Introduce device quirk "DELAY_AFTER_LPM" Date: Wed, 29 Jul 2020 13:18:39 +0800 Message-ID: <20200729051840.31318-2-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200729051840.31318-1-stanley.chu@mediatek.com> References: <20200729051840.31318-1-stanley.chu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 0D04A94861386952C8B68E824B73A7255AEB99E12A9CBFEE23563D1A21504EC12000: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 U29tZSBVRlMgZGV2aWNlcyByZXF1aXJlIGRlbGF5IGFmdGVyIFZDQyBwb3dlciByYWlsIGlzIHR1 cm5lZC1vZmYuDQpJbnRyb2R1Y2UgYSBkZXZpY2UgcXVpcmsgIkRFT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