Received: by 2002:a05:6520:4d:b0:139:a872:a4c9 with SMTP id i13csp2563881lkm; Mon, 20 Sep 2021 18:49:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznQCIdAISIe/hXchaJ5a+4X9R+CvGaS3+1/KvnvMfFx9B3GDo/9EolnX0rnqQ0WbkmVbeS X-Received: by 2002:a92:da0c:: with SMTP id z12mr19068769ilm.120.1632188867459; Mon, 20 Sep 2021 18:47:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632188867; cv=none; d=google.com; s=arc-20160816; b=HSjDZxENUpab2abK2XcCBFK3HajhRcMFP9i+Ykcs2Z+lln2WoUDAWJRgV/fepH6ezn hK3FrnXIqoOt3FTlj5o367/TUGau8ynjvU5rrcb2COL5hrqwFEuBRJd8V+7Ft6sDcxon q8apdrOfacjw5T3fO69VOkIe3KatvGgxoArx9jLigitZTWMcZrN/C+B+eJH7tPy1zHKN UiicXMOpmbk+X04F9xVRU0Kj0Wp6cVvBpbat9VTTnwECpEUdLdyo/CQzV7v6DqcFIlE2 fY7jr4tmlLFukEV+Jrcutpe+xoU37wyukoE7nNIGoZnwpJHPwXSvv4qkX2YbCHHMnP6t 39Pg== 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=JdwVa3xiE+MC6QcKKEKzSrC0OURIyMRuKTC+4bwHOp0=; b=dt5DGLtKHOSYrXKojcqTeK4tseP4pGuyv6gBHFgp6mq8POZTKJS4YfTqcXGc3O4u3I TqWxBB0gMSkrBxqNK1v1yYujhzxcrKCLnK3kghvm5j3Us2o4SjNWfuO8eolr5zaeqnSD gsgWE64sr+JCShYsV8rKQyKVrrH8fQwqX9m1CWhM+4QAuc2TcG5QMcukORyPU9TlLVnB LXXiUixEWZny5cwjTFd1tyfBMOim2NRXyFJ6h0jNJfLqBDiR0zR8eswcSTSKw2f/z4ah vLQBz2b13wy4SaCO/XTG3yE4R8clnskWZoy6rGbNveHpfBf1CZ8tiKms6FHUYK8jHXAL 6XBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=viioH2+Q; 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 k126si12276599iof.103.2021.09.20.18.47.36; Mon, 20 Sep 2021 18:47:47 -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=viioH2+Q; 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 S1347063AbhITRga (ORCPT + 99 others); Mon, 20 Sep 2021 13:36:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:34904 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351375AbhITRdZ (ORCPT ); Mon, 20 Sep 2021 13:33:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CB98F61AFF; Mon, 20 Sep 2021 17:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632157520; bh=1UAMV4qPxs+18602te90RcT0WG0KHwJmiXBzSnIqEa0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=viioH2+Q5Ei+fjmyam4YoJaJ4uP2uXKI1iL6AmkFSnWnnekG7IU+mfYDuL4+jtn3V 6Nvn2K49kkFNWpihHYVUkFJl22P6knx2FwxjKlPyItFnC647B1FxtGCkhNSWdwAaQT EqnDTHnDmq3UaxlDvexVbZzskO+OSTCa4UYax82g= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chunfeng Yun Subject: [PATCH 4.19 028/293] usb: mtu3: use @mult for HS isoc or intr Date: Mon, 20 Sep 2021 18:39:50 +0200 Message-Id: <20210920163934.233458201@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163933.258815435@linuxfoundation.org> References: <20210920163933.258815435@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 @@ -97,7 +97,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: