Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3878679pxb; Tue, 17 Nov 2020 06:04:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhvteOAUh5fegZzkREuOZyZKxq0MsdhEfwOnNP+3QPjsIKqya7KJNikvAG3g3dLmBgFiUM X-Received: by 2002:adf:e983:: with SMTP id h3mr24379140wrm.382.1605621841618; Tue, 17 Nov 2020 06:04:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605621841; cv=none; d=google.com; s=arc-20160816; b=lxu8QtQYawAONuvVAqCuqNvjklWGw5Ju3NHPBC4QtxKgiUUL5cOkzwzum5x+ObStFh EmkxGLZbbvUT1dwtMdVZH1KqVNiPZvFLmsgES+QJNlWxUPQEtdGn/Mq949E9f10jpQfQ y3Yn8vHhbKQwq9BU7Mg8+fuZOkMI2QB0SAZz/wnkWmL6+0m5g/o9xI4tfYMUPiAWw+Eg 4gSlSWJ6ZQ0nvoqdYehnpWSNa+WSQjdDWBMjbE4Cpewrb5HuKAaDZA0jmzuUeM8GHUVq /ZNPZslvxJ2YhSK7tJhF6CcXCr+bmjBuKNSVwxo9DQ6nOdYlkKedMJtl0yceoox/LrnV +flg== 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=xesTSlZq8/yUEIth9j1nD5wFeWjAXcmSDDBmMbI4xUw=; b=0Jn9ENm8TgPyf/KVKHqp3CyyhR8LS3DJwymqZaWlK3XuXIF2/R6Li4eRNqOEWhoZq/ lWHBzWfr72VIt0pUJwyCfVsZgmajZi5eAnJftnewh0caRGXnwTT4oJbUJ/SPQThbdwaG 7JQkrmn6HRiBveUZmgmaw0Bt3p54y+oIaZGVwMYGt/lC9xNqRJzEEwAZcAMmTcDKKDHI JIU01Bb3PX/s1rL7VVBZbEMpfdJdDHDip1mz2iUlpOMCUhF9kN2L9BOJEvklnqYTwnU4 pCR9Y+tcVivDQD8UfKDCfgJxh3ZBYpWW0sYddS76OKZY64MoEFBMt1jJ5R31a0XFaM9s R12Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZANRZFFp; 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=fail (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 o23si4118920ejg.114.2020.11.17.06.03.34; Tue, 17 Nov 2020 06:04:01 -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=@kernel.org header.s=default header.b=ZANRZFFp; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730600AbgKQN7P (ORCPT + 99 others); Tue, 17 Nov 2020 08:59:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:50464 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730623AbgKQNSB (ORCPT ); Tue, 17 Nov 2020 08:18:01 -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 677DE206D5; Tue, 17 Nov 2020 13:18:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605619080; bh=yqqX88Y5IQcAqP0bDmpDsPmoEFbLBsTzRMdGaaS4Ad8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZANRZFFppsbGCyq0PZ2e8VeaA0PKHxjvjDDgBXAcafVXF3OsqauYtfgegNLlVcwl8 eVnUOuspYAemgY0dyPejQ4Itnfuo0i3cTkKYrteHHr0TFbhWUSZ50VfUX+5sRbDm0j MamyCfmGwEIuyRVhqkEmTMifS/PwKLWPulG22jH4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pankaj Bansal , Joakim Zhang , Marc Kleine-Budde , Sasha Levin Subject: [PATCH 4.19 022/101] can: flexcan: remove FLEXCAN_QUIRK_DISABLE_MECR quirk for LS1021A Date: Tue, 17 Nov 2020 14:04:49 +0100 Message-Id: <20201117122114.171253098@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201117122113.128215851@linuxfoundation.org> References: <20201117122113.128215851@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: Joakim Zhang [ Upstream commit 018799649071a1638c0c130526af36747df4355a ] After double check with Layerscape CAN owner (Pankaj Bansal), confirm that LS1021A doesn't support ECC feature, so remove FLEXCAN_QUIRK_DISABLE_MECR quirk. Fixes: 99b7668c04b27 ("can: flexcan: adding platform specific details for LS1021A") Cc: Pankaj Bansal Signed-off-by: Joakim Zhang Link: https://lore.kernel.org/r/20201020155402.30318-4-qiangqing.zhang@nxp.com Signed-off-by: Marc Kleine-Budde Signed-off-by: Sasha Levin --- drivers/net/can/flexcan.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c index 0be8db6ab3195..92fe345e48ab7 100644 --- a/drivers/net/can/flexcan.c +++ b/drivers/net/can/flexcan.c @@ -301,8 +301,7 @@ static const struct flexcan_devtype_data fsl_vf610_devtype_data = { static const struct flexcan_devtype_data fsl_ls1021a_r2_devtype_data = { .quirks = FLEXCAN_QUIRK_DISABLE_RXFG | FLEXCAN_QUIRK_ENABLE_EACEN_RRS | - FLEXCAN_QUIRK_DISABLE_MECR | FLEXCAN_QUIRK_BROKEN_PERR_STATE | - FLEXCAN_QUIRK_USE_OFF_TIMESTAMP, + FLEXCAN_QUIRK_BROKEN_PERR_STATE | FLEXCAN_QUIRK_USE_OFF_TIMESTAMP, }; static const struct can_bittiming_const flexcan_bittiming_const = { -- 2.27.0