Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp119905pxk; Wed, 9 Sep 2020 00:14:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcPpcEVF+sWf3Gw3g/Z9ZlKTNiFakVW7enVzokcsmv0774VUY0a6+e7bscNoJ9pvDcq4lo X-Received: by 2002:a17:906:7688:: with SMTP id o8mr2273521ejm.508.1599635654859; Wed, 09 Sep 2020 00:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599635654; cv=none; d=google.com; s=arc-20160816; b=kerwtyZsIdabW8DJjUgl7ui1F7orHNCn7oMcU7PVLGr/Y3GD2yBwhJbMS9p0duuUuY QBFAQ1Xkk0nsTIH31F327jBcsT0yn3S/k+6VVWIH79APvgAMy2c9sN8Iu9Hoo3SOPcP6 yx7PzW/xLVfebokgNeH118f58/+FqilzOZ2qFVFhG2X8xnCM3GyVZxVluzO1Hsc6SHfH u+/VRf7XSeYDF7lZDCd+57LtsfsSJq5itY7Hd2dJY+qhj3QVT/E3dZk6f2kLc2yVWoXo qnKHM6n7f7ZJwH8entainANlfFV6ActGlJva112l/eM7L2TigbHouXE2UWQgM70C5LUe 8e1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=pA+Ls5GfApG2iaWfLvd8z3of/Xz/jjqS0gPuFBFbYj0=; b=VhsDf1RMB2hB6hzrAcHPbYc3L/h4OfoRdA7U2oq0tZ/BeSyaIPrtDRUg/+Ij1C5mRr GpXXimK+3ITUjRwW3IWJ0R/N2jmA+5BcqiNlqugIfOlBKex29JZLS/5UAMMaEOeHcwSW wLOLsQcOGBsa7qkwKoijFeaTGVhbErAzIVl5UfRYHx095ZJ2ah3PsazxxjTn2xhLRTuS DuGLIcCtsVRgAmZ9yoV0WtX/a3BRVtQKlYMhufo3HCEm3Uf+3W3Yumftx3raq/z20w7C yieItLAMhGDqbdyQm1gjsPvORT5yduKPvjyQ+NfeHZmSFTYwK/HB1bM6rdqdEz8/8Ud6 bSrA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si953904ejm.633.2020.09.09.00.13.50; Wed, 09 Sep 2020 00:14:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729779AbgIIHKw (ORCPT + 99 others); Wed, 9 Sep 2020 03:10:52 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:48150 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729305AbgIIHKl (ORCPT ); Wed, 9 Sep 2020 03:10:41 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.69 with qID 0897AKaD4024324, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexmb05.realtek.com.tw[172.21.6.98]) by rtits2.realtek.com.tw (8.15.2/2.66/5.86) with ESMTPS id 0897AKaD4024324 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 9 Sep 2020 15:10:20 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXMB05.realtek.com.tw (172.21.6.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Wed, 9 Sep 2020 15:10:20 +0800 Received: from RTEXMB01.realtek.com.tw (172.21.6.94) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Sep 2020 15:10:19 +0800 Received: from RTEXMB01.realtek.com.tw ([fe80::3d72:efbe:f42a:2926]) by RTEXMB01.realtek.com.tw ([fe80::3d72:efbe:f42a:2926%13]) with mapi id 15.01.2044.004; Wed, 9 Sep 2020 15:10:19 +0800 From: =?big5?B?p2Sp/rzhIFJpY2t5?= To: Bjorn Helgaas CC: "arnd@arndb.de" , "gregkh@linuxfoundation.org" , "bhelgaas@google.com" , "ulf.hansson@linaro.org" , "rui_feng@realsil.com.cn" , "linux-kernel@vger.kernel.org" , "puranjay12@gmail.com" , "linux-pci@vger.kernel.org" , "vailbhavgupta40@gamail.com" Subject: RE: [PATCH v5 2/2] misc: rtsx: Add power saving functions and fix driving parameter Thread-Topic: [PATCH v5 2/2] misc: rtsx: Add power saving functions and fix driving parameter Thread-Index: AQHWhP62uKuuQJQ5k0+R6Z2U1e37UKlezqwAgAES/lA= Date: Wed, 9 Sep 2020 07:10:19 +0000 Message-ID: References: <20200907100731.7722-1-ricky_wu@realtek.com> <20200908222834.GA646416@bjorn-Precision-5520> In-Reply-To: <20200908222834.GA646416@bjorn-Precision-5520> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.88.99] Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCam9ybiBIZWxnYWFzIFttYWls dG86aGVsZ2Fhc0BrZXJuZWwub3JnXQ0KPiBTZW50OiBXZWRuZ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