Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2512216pxb; Mon, 18 Jan 2021 21:45:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8aOu68f51uupHqjoQ6Ot529rvz13X+6WsX50eqmVGsuOy4EIHWT45H3dt250sWBwp3LJJ X-Received: by 2002:a05:6402:18f:: with SMTP id r15mr2079472edv.189.1611035126975; Mon, 18 Jan 2021 21:45:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611035126; cv=none; d=google.com; s=arc-20160816; b=JETHbF6kTT88a2A0OTmcMduvVtqghNlbBkRLTO3mXYit85d2uc2iKi2UtZn/3IRruQ N+el9BYiy33sTqt2R6U6AjoGhaGP7CvijknmJquJ8LGz2EyFjVAPvNpRcgyK+YkbwGQv 6+Mft2fKqHZVDAWbCNkI2Z4eTelSVsYQygWH/OOVZ0Ew+pTH/3+dEEJbXnCIb2LrEGad j7fKfP4++xJKHUKt2kMeGmJQFsPpvPOSJHd/7914r2pzNQCvY1gTQvYxipzUNt/t/1Yf avM6qla9Qi+c2blRRJlvq6YopvaY5gsZh4gUl+9LhZ9Hm775fAb5wpjsS/nRRzB0uODa 6Vpw== 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=4kexQ2hHpQDh0WXQE4QqbROz+eLRj3yLnugH4alvgz4=; b=FuXYGMhQ9PDs1060jthrLMLK/HoWQDWzTz/tw0IGNi6Hh3N0lJwparZJIHB64Fhjaz 48rDURwVxBSD1CeljtY200tQOPIfQYwZXYxoNSRIncpqfoHII1soAG6k7kYD/q1Ty5q1 wpZN4bVrhVNgvW2rHyccGA9+iPtD89uoUldkWYCPc/FtfFyRrfGYNsAQonjSVjmRKOZk KA9Re07pbd+gSiGyGO4ccWS+LTwC/H2L62gPDnmCrRAROF9c191VM1gDxpUFAsM3clJ1 JWA11voMeCghEkZfkrkiXfc8AjCpt5ADBQlOHppd7BkI0fCrNF9tYWaXLE2tPsPku/er EdqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=OLXAV9xE; 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 n20si8632722edq.311.2021.01.18.21.45.04; Mon, 18 Jan 2021 21:45: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=OLXAV9xE; 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 S2394230AbhASCex (ORCPT + 99 others); Mon, 18 Jan 2021 21:34:53 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:11119 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728366AbhASCeM (ORCPT ); Mon, 18 Jan 2021 21:34:12 -0500 X-UUID: da7fbddae4034b26aa993c0a4102f049-20210119 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=4kexQ2hHpQDh0WXQE4QqbROz+eLRj3yLnugH4alvgz4=; b=OLXAV9xEQ4eaEFkpPwAsAn1JPspckHz2lyq0rV3acNRhp+jeiBGURdkphgAddRr85Mvc5Zxagjkfc34dN3oogxQ7c12cHPq2isO0CDt1dR0pXHE6+ZM1rsxXo6q02VubM6agu3PkYrFuNiKKiCil3MttuNHyFzB6tulEivoPtQ8=; X-UUID: da7fbddae4034b26aa993c0a4102f049-20210119 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 199284678; Tue, 19 Jan 2021 10:33:17 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 19 Jan 2021 10:33:15 +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; Tue, 19 Jan 2021 10:33:14 +0800 Message-ID: <1611023594.11995.4.camel@mhfsdcap03> Subject: Re: [PATCH v5] usb: xhci-mtk: fix unreleased bandwidth data From: Chunfeng Yun To: Ikjoon Jang CC: Mathias Nyman , "moderated list:ARM/Mediatek SoC support" , , Tianping Fang , Zhanyong Wang , Greg Kroah-Hartman , Mathias Nyman , Matthias Brugger , "moderated list:ARM/Mediatek SoC support" , open list Date: Tue, 19 Jan 2021 10:33:14 +0800 In-Reply-To: References: <20201229142406.v5.1.Id0d31b5f3ddf5e734d2ab11161ac5821921b1e1e@changeid> <2aea44f0-85e7-fd55-2c35-c1d994f20e03@linux.intel.com> <1610086308.24856.30.camel@mhfsdcap03> <1610612988.30053.15.camel@mhfsdcap03> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: A6115A169AEB976A4B832476D0D8D2120FA2368B9779F77F46ED1A7ED5A498A62000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.k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