Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3057614pxb; Sat, 6 Feb 2021 18:29:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaNretaJrcGtgvAEcUcd62dXgwxQQkZX/zphw7LK0REZttIcdVh5GKiO51foiXjJsHLuI/ X-Received: by 2002:aa7:de10:: with SMTP id h16mr10922522edv.295.1612664966141; Sat, 06 Feb 2021 18:29:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612664966; cv=none; d=google.com; s=arc-20160816; b=M4oPcLmmXhkIXHeyugV44DJDlL59pvdh16QyvHRL5PItVYEzoTfFP0j2GeGxFU6MX3 PmBh7gx9XnesHr8ot19y5SnLy80oDtBr7jXnBTEMLNc+JgYSCm+8rV8TBA11ghAPr+2q +W97ZzHMjCPs/BBolhwLOATxSOB+9Rj2z+FFWZm0Sd76L85Te+T5B3iGDoD8dga6mDyF Y0stNPM6YLy3YvJmVGWN/y6EBCdjS9zY/R590ymlLDwu5QOg6FYFkwBPjiZNhe0wm2ah E8oQqPsgTwHiz7ezX5dKh4K1642uNa8ZEprU4ByoWA3etjYcbqMXxJB5Kz6UCNioAdpe BKrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=VLQS2kgvcrI9d6jQ5mQub6mDEUycbvfHKHDUC9bWkD4=; b=tYdbCUy8GDUt9ffiaWY8xcAnxpd474PrWT0Q+mwkKxV44lC/uvv/BiQKsC7FZzVE1g S8sQYrmGKpul2T0en62nd0xSqIAJn9654WqF8dvOZ+UE2eQdV2qiEKpu9Y9m81mACZdM ThHknSd99ua8GX44oQg9hsM2xRa0S70x7UgJI7zuQqTyQUhLRbHQ4R/qe1nTyBRIy8N5 hRXsx5aEfvfOitU7uyMMhpES5wRG7aSc85PwjKBjTALlwmnprJDWcnUypxc8lUXFOtVq aRSLxvi4IyPQFk9ct8igXvFbZMMTUM07VPxqRUjnWujF62Lfoy+FQIsW0pfWevjB0hMI 22rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ZBcJVlW8; 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 v19si8161655eji.75.2021.02.06.18.29.02; Sat, 06 Feb 2021 18:29:26 -0800 (PST) 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=ZBcJVlW8; 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 S229609AbhBGC2H (ORCPT + 99 others); Sat, 6 Feb 2021 21:28:07 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:19751 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229522AbhBGC2G (ORCPT ); Sat, 6 Feb 2021 21:28:06 -0500 X-UUID: 427090c8fe45468bb75431dc3717c8b5-20210207 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=VLQS2kgvcrI9d6jQ5mQub6mDEUycbvfHKHDUC9bWkD4=; b=ZBcJVlW8Ug6o0RvuM6UBbpNtvRd/KcfaU2J/kbzSFXnXXqIbHXZgtzyAjUKCrM6demTCC4WSgxjsuTmmbBnaKTVU+6JqtNeMVi3I5wqTmycsV88mm95LaKj20enjw0SfP4b1ZWXOM0mU+zP6NfPRFAZiR6MZjyrm5iuAfWVlX34=; X-UUID: 427090c8fe45468bb75431dc3717c8b5-20210207 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 157614869; Sun, 07 Feb 2021 10:27:18 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS32N2.mediatek.inc (172.27.4.72) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 7 Feb 2021 10:27:14 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sun, 7 Feb 2021 10:27:13 +0800 Message-ID: <1612664833.5147.30.camel@mhfsdcap03> Subject: Re: [RFC PATCH v2 2/3] usb: xhci-mtk: modify the SOF/ITP interval for mt8195 From: Chunfeng Yun To: Mathias Nyman CC: Rob Herring , Matthias Brugger , Mathias Nyman , "Greg Kroah-Hartman" , , , , , , "Ikjoon Jang" , Nicolas Boichat Date: Sun, 7 Feb 2021 10:27:13 +0800 In-Reply-To: <20210203102642.7353-2-chunfeng.yun@mediatek.com> References: <20210203102642.7353-1-chunfeng.yun@mediatek.com> <20210203102642.7353-2-chunfeng.yun@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 1B014D2086C1D7CBBFCF7F12F97C71D0892D48B7553418545A58616630F2A3202000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWF0aGlhcywNCg0KT24gV2VkLCAyMDIxLTAyLTAzIGF0IDE4OjI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