Message ID | 20230628-mtk-usb-v2-1-c8c34eb9f229@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2D1FFEB64DA for <linux-arm-kernel@archiver.kernel.org>; Wed, 19 Jul 2023 13:01:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id:MIME-Version:Subject: Date: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=/YdedC5hFCzmUt/SfPHm4kzluZ3jMvDnBfu4TvPUpvM=; b=ctmvAwuMJ3x7pJ xTUJlZo2WXxZu+I3sQeblsyGp7KpM2UNma35Q5aMJOTYH+A3K2d+MYsee9LsvKVReGrKZcaYPHZsI 0Ywx2IP2pKw1Jyz0bSHBi4nN5AomCENYnm+Ic0lykD3UqmzZKdjm4jBsIibtjVm+AvtiElNJDAre5 PRx0Fx8HD8/0qCmAbCzXdYVaOv5BQs0sOh+Vn5GaHECg631Ed/gJI7zXmnfTI+u/W8vNRihGTc0Am eApAn4jMd+mh+JInGrObu2flVLMMcKOJpAyq8yDjCvU7JYOFXgErvT1flBV7WXDpVDqSrN+ES9pwd YV+49xbrEiYZe3NMn9ig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qM6no-007Ukw-2r; Wed, 19 Jul 2023 13:01:12 +0000 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qM6nl-007UiH-2d for linux-arm-kernel@lists.infradead.org; Wed, 19 Jul 2023 13:01:11 +0000 Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-635e0e6b829so46047886d6.0 for <linux-arm-kernel@lists.infradead.org>; Wed, 19 Jul 2023 06:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689771667; x=1692363667; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=ZUn3qzGm6xqqej4OZuBEBV3n0Emxu1ym1jKr3YxBxt4=; b=hU8V/od2QY8c+fSMdHe85MqiGDgF7cVBfeGLOrDxOOR1mstuMVkcCrZG8llbYpVQ32 nBwQuITTlkeOLqkM0YcXxVwKcYCXWTmkBVgOEw5CpcaarUG73z9ehOUm/99k3+C7B18q N/1jpOjF3F8cJgBH+Ydcuz/Z3yWAF5htgVBVc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689771667; x=1692363667; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZUn3qzGm6xqqej4OZuBEBV3n0Emxu1ym1jKr3YxBxt4=; b=IBm9LdEQsV55yNlsVjHIG9/EtRIFnxfvR5bWAVTSMnJmRyfFQcjhDCWFPl2jnnDzMK axQOs6Mq+i6O4DLzFzEwNZGfs8uA8yePGfzQ9Yye4SExu/P7ROa83gxsqZvJD8cfAeLM nx4M3rwL23maqLzBlAHJc4GnemJ+v3KRDtfbqamgAb50LnCVJRdetyzCQ3kpkll7MqUD EYTD0EWf8jGRyXDWhyNUqnu8pLRNkt6iPnfaI3rrR9mTshR3thHgHZRKHMw9BfaDjQiE bxbznniTG9/VVNU327ZFUUXHxBqtvfLrKd0DOtGFtw/ehWFMGTBKIktNN8x8RL/PSrSF eFYA== X-Gm-Message-State: ABy/qLa9ofZU6QkA1CNDhh3wKk9zAxceyPzxeW/SxbcV8nuVCyVrCA4k s6GOdSdv6R7rnk9jhsKho7ir9Q== X-Google-Smtp-Source: APBJJlFJ/uUoPyBlB6eF2HjrBIvLmfBkIFeJEBs7aqFiM09haYrQ7eLtRuzcLk4otJh+fisg3cOCDQ== X-Received: by 2002:a0c:e08b:0:b0:632:207d:b834 with SMTP id l11-20020a0ce08b000000b00632207db834mr2381913qvk.58.1689771665612; Wed, 19 Jul 2023 06:01:05 -0700 (PDT) Received: from denia.c.googlers.com (122.213.145.34.bc.googleusercontent.com. [34.145.213.122]) by smtp.gmail.com with ESMTPSA id l18-20020a0c9792000000b006379c3f7895sm1453255qvd.52.2023.07.19.06.01.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 06:01:05 -0700 (PDT) From: Ricardo Ribalda <ribalda@chromium.org> Date: Wed, 19 Jul 2023 13:01:04 +0000 Subject: [PATCH v2] usb: xhci-mtk: set the dma max_seg_size MIME-Version: 1.0 Message-Id: <20230628-mtk-usb-v2-1-c8c34eb9f229@chromium.org> X-B4-Tracking: v=1; b=H4sIAI/et2QC/2WNQQ6CMBBFr0Jm7ZhSBIWV9zAsOqXQRmjNFIiGc HcrW5fv5ef9DaJhZyI02QZsVhdd8AnkKQNtlR8Mui4xSCELUckbTvMTl0hIvRBl3VcX6q6Q1qS iQWLltU17v4xjki82vXsf+Ueb2Lo4B/4cb2v+s//hNcccC12SNKroKqrv2nKY3DKdAw/Q7vv+B XzkU/a2AAAA To: Chunfeng Yun <chunfeng.yun@mediatek.com>, Mathias Nyman <mathias.nyman@intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Cc: linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Zubin Mithra <zsm@chromium.org>, Ricardo Ribalda <ribalda@chromium.org>, Ricardo Ribalda Delgado <ribalda@chromium.org> X-Mailer: b4 0.12.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230719_060109_868102_DB6DCE19 X-CRM114-Status: GOOD ( 12.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
[v2] usb: xhci-mtk: set the dma max_seg_size
|
expand
|
diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c index 51d9d4d4f6a5..bbdf1b0b7be1 100644 --- a/drivers/usb/host/xhci-mtk.c +++ b/drivers/usb/host/xhci-mtk.c @@ -586,6 +586,7 @@ static int xhci_mtk_probe(struct platform_device *pdev) } device_init_wakeup(dev, true); + dma_set_max_seg_size(dev, UINT_MAX); xhci = hcd_to_xhci(hcd); xhci->main_hcd = hcd;