Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp829973pxu; Mon, 23 Nov 2020 05:23:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwrkT5oyYwYYwf7RVnTl3/ZE9bKVy2K1nQIrB48J5JjYgJhEiapfEapM2zm5dQ1bewBnFPZ X-Received: by 2002:a17:906:14cd:: with SMTP id y13mr25665449ejc.510.1606137811594; Mon, 23 Nov 2020 05:23:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606137811; cv=none; d=google.com; s=arc-20160816; b=KhnZxGgwFGG2nq8Izo3IMDFne3xeyVQlgWozKaIE+e1Of9+w/WfnmmA4S9tr51oFtG UPAI+TmIAFkvgY/okh9uUO2tUBveoGIosHpS2DjKq078zpDlnc0Rls/D4gPiLrUj+d5j S2KQJtxwES6pGPlWmns0xDe/xPVgC71oKXmFUUUWaq0m6kmTiWvhNaEicvHbKwuO9vUo o+KJ7rdVUWYhV0zncM4L7fVOzYbpL4HEDdxco4mWPoWHCBEwq7VVP4X9IGT7dqZ3DzVb 9tV4rV1zf3lTPnvUIViiHv4poLUmr2EhxWSlfdAfVZ3VSg0YEOzTYr1z/SAtjGTUWR1G O+zg== 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=de2G6te3pNCf+ydvREueVKczTEzQERuYtuDYaoK+UxY=; b=zAfDDMgvCACSb0ldCSPvgub2tmWxGfpsSieiHPl55SERqPzyYz3d+71xFZyDZHstz2 B2ZASoLdwzor4OeMpev0+bxg53PFiyHOtdLlc7hvRUyAp3gdmUYtmJ/2D9rmh66FOg5m abJjO6UknPWF8AU1vws4UHkkA1eKYcGnGvEVCECNJS4RvNlBB0Yvp8//d/+qaupXBBJ7 ADwHK8KnUysnJ9hyzPafr5QV3yqSvSdq+MpCxiRW4sbB/XcHH/BLgjw28vOZDMxP4lm5 U8IPLsN0P/ykOPH0i4tMET0KwlcXPkiyi2VK2C5UZ2ymzEOX+riPT/YgvN8FH9n0d7Qg 8mJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wmh4nqKe; 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 j17si6274589ejv.267.2020.11.23.05.23.07; Mon, 23 Nov 2020 05:23:31 -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=@linuxfoundation.org header.s=korg header.b=wmh4nqKe; 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 S1732950AbgKWNUn (ORCPT + 99 others); Mon, 23 Nov 2020 08:20:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:52038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732215AbgKWMjR (ORCPT ); Mon, 23 Nov 2020 07:39:17 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5A60E2065E; Mon, 23 Nov 2020 12:39:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606135156; bh=M6L+Nawp5+EPafUv3Lj7DKn06qbCVDGJ6RaSKEWqFxc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wmh4nqKesNUfXWzaxJMPF84XSrjCpe8BdLzhkqjtqu0GhCkUkVSmYmMd7UmOKIs6G BaAe2jXsigLZOfKM8HosamJxJZSDfrDeddoc0zhinWm7TnNfv6L942WncXGEU6jm1x h+93/dpE9bIWzn1l90eYpb5ThBsPviyMPUp24Yi0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jimmy Assarsson , Marc Kleine-Budde , Sasha Levin Subject: [PATCH 5.4 095/158] can: kvaser_pciefd: Fix KCAN bittiming limits Date: Mon, 23 Nov 2020 13:22:03 +0100 Message-Id: <20201123121824.515427206@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121819.943135899@linuxfoundation.org> References: <20201123121819.943135899@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: Jimmy Assarsson [ Upstream commit 470e14c00c63752466ac44de392f584dfdddd82e ] Use correct bittiming limits for the KCAN CAN controller. Fixes: 26ad340e582d ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices") Signed-off-by: Jimmy Assarsson Link: https://lore.kernel.org/r/20201115163027.16851-1-jimmyassarsson@gmail.com Signed-off-by: Marc Kleine-Budde Signed-off-by: Sasha Levin --- drivers/net/can/kvaser_pciefd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/can/kvaser_pciefd.c b/drivers/net/can/kvaser_pciefd.c index 6f766918211a4..72acd1ba162d2 100644 --- a/drivers/net/can/kvaser_pciefd.c +++ b/drivers/net/can/kvaser_pciefd.c @@ -287,12 +287,12 @@ struct kvaser_pciefd_tx_packet { static const struct can_bittiming_const kvaser_pciefd_bittiming_const = { .name = KVASER_PCIEFD_DRV_NAME, .tseg1_min = 1, - .tseg1_max = 255, + .tseg1_max = 512, .tseg2_min = 1, .tseg2_max = 32, .sjw_max = 16, .brp_min = 1, - .brp_max = 4096, + .brp_max = 8192, .brp_inc = 1, }; -- 2.27.0