From patchwork Tue Mar 30 08:06:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ikjoon Jang X-Patchwork-Id: 12171955 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F23D9C433C1 for ; Tue, 30 Mar 2021 08:09:02 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 807BE600EF for ; Tue, 30 Mar 2021 08:09:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 807BE600EF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=HbhvYlDs1B3mR8+z4um4FgsaVtsisDPT6zrFgS7k5Gc=; b=HbiAEkM2nRTvEHyNpVw9BAAc4d 33WchXfyIhV+6ouHpaOIGote/l0866IZsf57lST9zXhVAiMSY9cGmnWeLkJ/ocGh14RixnTCOQQO2 +1kMdhfoKNeXfWobquR9bVAqmfEjHnABKkRd3dCWQfzBjFtqVDd7wWo+as2K6tGZveYsX2LHlPim5 9EZsWdbP35ohw3mAfxiRcIBTmBnlVKhmsQcW81S8uXSot247IlHVVJoOs+R+GmGWbblCMBx0s9Fz7 sT7IkGRoxE2BGVLJ0W7tMZ9wraSD2ZHCNlZfO97mFARiTCPcjdWItQzrWNo3CN4vEZCbzCgeXNfN4 ferxxiuw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lR9OZ-002yBr-IQ; Tue, 30 Mar 2021 08:06:39 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lR9OK-002y7g-9U for linux-arm-kernel@lists.infradead.org; Tue, 30 Mar 2021 08:06:26 +0000 Received: by mail-pj1-x1031.google.com with SMTP id ha17so7343275pjb.2 for ; Tue, 30 Mar 2021 01:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ohWyba0j454EaOcs1wMSu7zcUbDYhtyMLYsDEhrXDGs=; b=jqo9lLZ7GcMnZC5ZBsguOjSYs6hFI12Dfmn60MxS5gDNrO/+nY8Vn2rY4ywOySIC/k QaZ3yvUp/zWMoXGE5D5p0Wf3cwyP0fPTwORkzq7VIU3Tn8pSVeL7osPiN9DAw4zCbc+T H9uaV6epPrQ2WddQgw6oq0J+rbn8f5L+2JWKo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ohWyba0j454EaOcs1wMSu7zcUbDYhtyMLYsDEhrXDGs=; b=psO0ZeIq7CS5ap/5OiKm+QNt3zOoiKAGHYp8plHfPpohU7uQ/1ZV+Uds8krRjGrH2W qif3lu+ovjF+vbC8uIl8SY2LUq3t1nRbsEq5pw7+lG8j5LKdSl4tCqMwsEv0ozwEQpo7 4tvQTq3jggd2pNy4cjnm+Z5IJF46CiK/MvqyTLtLRV7i7tlpXPi60ocwNupc2o6Dme20 Xu8NtZFY4I5AWRdOpfFynRVh8jN4XRVMDwVRUWx5RP6MvyNE4yWAEAEYwmXgDFQouxQt VrTqJzLlbTfE1BduF7yT35Q6OlJD0FPiqGVny5dF8JB9Es1QKyOeqTcY6kfJ8lFhEaQ+ L+gw== X-Gm-Message-State: AOAM532iCikB3qYpcJuNle6POgiNg5t/HJSt0dBWW98lKedF2UCgt+zV 8FjfC++AgNwI9ZLr3Y7UHEpGIQ== X-Google-Smtp-Source: ABdhPJybMW7B8cavgdFxhd4SwS24cBzLl6Y5MZwunkIgjR2DOE2qND49L/uJeWGi9/heazJekmcuZw== X-Received: by 2002:a17:90b:e01:: with SMTP id ge1mr3199883pjb.117.1617091582045; Tue, 30 Mar 2021 01:06:22 -0700 (PDT) Received: from ikjn-p920.tpe.corp.google.com ([2401:fa00:1:b:49fb:d79d:bee6:d970]) by smtp.gmail.com with ESMTPSA id f23sm19118913pfa.85.2021.03.30.01.06.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 01:06:21 -0700 (PDT) From: Ikjoon Jang To: linux-usb@vger.kernel.org Cc: Ikjoon Jang , Chunfeng Yun , Greg Kroah-Hartman , Mathias Nyman , Matthias Brugger , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 0/2] usb: xhci-mtk: relax peridoc TT bandwidth checking Date: Tue, 30 Mar 2021 16:06:15 +0800 Message-Id: <20210330080617.3746932-1-ikjn@chromium.org> X-Mailer: git-send-email 2.31.0.291.g576ba9dcdaf-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210330_090624_436012_FCF4BAEA X-CRM114-Status: UNSURE ( 7.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series is for supporting typical full speed USB audio headsets with speaker, microphone, and control knobs together. With current implementation, such a device cannot be configured due to xhci-mtk's bandwidth allocation failure even when there's enough bandwidth available. Ikjoon Jang (2): usb: xhci-mtk: remove unnecessary assignments in periodic TT scheduler usb: xhci-mtk: relax periodic TT bandwidth checking drivers/usb/host/xhci-mtk-sch.c | 120 +++++++++++--------------------- drivers/usb/host/xhci-mtk.h | 2 - 2 files changed, 41 insertions(+), 81 deletions(-)