Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1418421pxb; Fri, 10 Sep 2021 05:37:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycyBAs8o2mw/09mGkT2TzrEWz5fSHYd9i/bZYT4cuNzf5UnCU9F4JYwQKic9Sr8ydQXh7A X-Received: by 2002:a6b:bad5:: with SMTP id k204mr7193835iof.65.1631277473684; Fri, 10 Sep 2021 05:37:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631277473; cv=none; d=google.com; s=arc-20160816; b=YblZeFe29mUZ93lpmBQ80NEzSLpoNOrDnVsB8wf9l3Wd9AF+eJu3wCg3vu1xTAi/8x fpioWjsylPgsHeY/e4lCaATFjKW+XZ3lpox0vbzRFpEY4JOi0QJG+la63jpyqR2LlbIj C9esqqsMM/xyntuX95u4+tstCI5V2sqM4oWOcudxTxKxgcFwNVR6M2bDuBgHj3lkRyN4 paO1uKbGnjNAkiXphHJoG+rlzrmq60nfVJ5sSjAgKn6wG29xrw7kTO/64MnrQ0+2u5HS +UojZc83PLLeCDd7YrXHd51mKjyaslRhx4UUm4se5+yzo6NJVt+ZohfjWmS6HhHBETsF UVAA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Lun4NimEUKVbiy5uKgNK9Rf+5Gv5pwp+mSg37q9Vqoo=; b=Tr8+fe1Iy2706hkQ38qiFFPTkSEJy/lzf4tc3oFOCoSO7nlvpUBvuZJwgNKFgkjqeD gcNlNDH9h2VVsHGfSJfbPV+LddotRuRsRM98r7BQT77j3egZcibsJ05Jf0rG6LCmn2ls Q3ZxUVEmBDNRYhqx7OHWXxL6iKLMz0ad3zJw+UlvErMZDaM7ylAP1yiq8EUNomnKxfrX Oqyv08XHSCmb/RQCm0uyd9NmpBUEccyMpnkm9cMvuury2fnfge5aqx/HQaqhuCa7mrzy EHLQDfrarEHp0vlj1siZ5FoQOgqTUYodazaVRrtulDFmcx0SAFAfIgHvCYd9JN+97qvL BuGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BTyJeuCx; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a23si4629178ioh.18.2021.09.10.05.37.40; Fri, 10 Sep 2021 05:37:53 -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=@linuxfoundation.org header.s=korg header.b=BTyJeuCx; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234567AbhIJMiN (ORCPT + 99 others); Fri, 10 Sep 2021 08:38:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:54302 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234667AbhIJMgg (ORCPT ); Fri, 10 Sep 2021 08:36:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CCCD561213; Fri, 10 Sep 2021 12:35:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631277320; bh=ZWrtcJkf2QuRb3qag3OPKImGD30cLnfhYoK6nSNiP8w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BTyJeuCxq/two/SnpUxBRztIcP2N4o/LNy6+0C50jyHGK62b6NgPpeWCgh+mqMhIr hmJehZWRVIuPOIRwY3AnDNNxXp9TR5w9Qi1MkAetjS09vuda1SRffbMWuU3236PuuE JogQP1BEisYag+IVdPFXT9Xn+ZCWF5T74OkzGEcI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chunfeng Yun Subject: [PATCH 5.4 33/37] usb: mtu3: use @mult for HS isoc or intr Date: Fri, 10 Sep 2021 14:30:36 +0200 Message-Id: <20210910122918.249940943@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210910122917.149278545@linuxfoundation.org> References: <20210910122917.149278545@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chunfeng Yun commit fd7cb394ec7efccc3985feb0978cee4d352e1817 upstream. For HS isoc or intr, should use @mult but not @burst to save mult value. Fixes: 4d79e042ed8b ("usb: mtu3: add support for usb3.1 IP") Cc: stable@vger.kernel.org Signed-off-by: Chunfeng Yun Link: https://lore.kernel.org/r/1628836253-7432-2-git-send-email-chunfeng.yun@mediatek.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/mtu3/mtu3_gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/mtu3/mtu3_gadget.c +++ b/drivers/usb/mtu3/mtu3_gadget.c @@ -100,7 +100,7 @@ static int mtu3_ep_enable(struct mtu3_ep usb_endpoint_xfer_int(desc)) { interval = desc->bInterval; interval = clamp_val(interval, 1, 16) - 1; - burst = (max_packet & GENMASK(12, 11)) >> 11; + mult = (max_packet & GENMASK(12, 11)) >> 11; } break; default: