From patchwork Wed Oct 9 07:29:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Appana Durga Kedareswara rao X-Patchwork-Id: 11180625 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 62CFA14ED for ; Wed, 9 Oct 2019 07:30:11 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3F260206C0 for ; Wed, 9 Oct 2019 07:30:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="T2I7+o/0"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.b="SGf2BAV1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F260206C0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :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=Gr1xJ4N85WOEQD/diV8Vzue4px32lfJAEFTFQeOTMfE=; b=T2I7+o/0Jiq39A po53+Z30LkWdeImq2SgbU2xQC+9pHgDMmxhWmhzkFKSYa/30WyJCyu98lsvb/GfhTePLRfLaLldk6 nd8qOMrJnRwnKD5xCv+VjzTKtr1h6kqmto6yWZN0rkbMMhLAPFgDdIjYJ+Ua8SYnQMRKj0yZv9tMb FJhXWfpOAZ6afsX+pF5dgUMyhRBwgBYwARauSVBf6iffTyWOoH1SmbXew5j06ghRqXLcyebGgD3g6 glpi6lHFdqFHKT9pxBqPUyROQAtohXRh78sT9i7BEv7VfTxjcVc6m4Lt7LtUZDuceLKzTA5beZw+e +uUYEkiMZbKCiXxnvu1A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iI6QD-00034W-T3; Wed, 09 Oct 2019 07:30:09 +0000 Received: from mail-eopbgr780049.outbound.protection.outlook.com ([40.107.78.49] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iI6QA-0002JX-3t for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2019 07:30:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PWowcD8RCgSWzcYRfvS8Hh3SRIcycaIeJ33BxK2nm/OK/6aGVNyJtPZDe1QB6PC/wvt8UR19t0HETp5ODbqdn3QwDkYfGdiaaHcm4hmKO9adyyAdgt+zWoSTkFgaY89e0hJObaqFORGpYoXiKirI3/ffBJjYMhvSS8fN4BpfG2f1ss7jzHLSiYUmM7nExhB8TkcMmTb99lvPH43y6TFBbSgOAQ9JjvGjUo2HaPaF8rOqzIETI7e8gZWt/XQF77JLK79+JxaTu3fYO186T22tHiOSWxNeQxCYehcByc7Wjuv1o4p2u1IkVz2h2nlnz4vyHD0gc3BV90npVLIxoJQSmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+bZJNYOv4ZWN2g4MNLRnnY+3/fHW4Oofm0sv58wwsZM=; b=FosU3JqIjNYFQsjOPdnL4P1H1m310yn9KXi50ZAc4PatqM5nDtUkDaM281wQCIjJ9otFN0UhVJCLmZ/M6JKgyWizenPj1H+yotN5G/Hc5SHIEy2BkGYmnvcHYr7AkIUjIC2egtTjaZGJ40ssb2F4rrBNFBhN5m3J4Dxj4Vts6KCA9KW0vGhvLx78yq4hGSb02XHXjtv0pAiVx4PvhEJtQ40ytv2HxjGizCnw1EQP4yVVllXAbeUjK7dJqxrOqzGL+0TRpQ0SNEHrrQ9sFovNCP+HBhCywLlmQboLYI6B1jBrS9MdQq9cyOYT40NgV/pxR9OWvv+4yS505MMEJo+XLQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+bZJNYOv4ZWN2g4MNLRnnY+3/fHW4Oofm0sv58wwsZM=; b=SGf2BAV1yQ3pJhHfEN0KyNR7e2uCgD2oP0giXC8wFXyzudAM9uv9T0Jv+J1y2m3HlhC6YdzcKEmOtpTitONOxLeKgUgs/QoIa1coPkqHJXTYxPerzJ8nnCIcH8+skyENYxrNCQLYwY7NOk6AaKHsUtW1xGu4WqkRqyP48MnmV88= Received: from SN4PR0201CA0052.namprd02.prod.outlook.com (2603:10b6:803:20::14) by BN6PR02MB2770.namprd02.prod.outlook.com (2603:10b6:404:102::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Wed, 9 Oct 2019 07:30:02 +0000 Received: from BL2NAM02FT016.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::202) by SN4PR0201CA0052.outlook.office365.com (2603:10b6:803:20::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16 via Frontend Transport; Wed, 9 Oct 2019 07:30:02 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BL2NAM02FT016.mail.protection.outlook.com (10.152.77.171) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2327.21 via Frontend Transport; Wed, 9 Oct 2019 07:30:01 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1iI6Q5-00066D-2e; Wed, 09 Oct 2019 00:30:01 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1iI6Pz-0005Um-Vg; Wed, 09 Oct 2019 00:29:56 -0700 Received: from xsj-pvapsmtp01 (mailhub.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id x997TqvY018594; Wed, 9 Oct 2019 00:29:52 -0700 Received: from [10.140.6.6] (helo=xhdappanad40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1iI6Pv-0005UH-RI; Wed, 09 Oct 2019 00:29:52 -0700 From: Appana Durga Kedareswara rao To: wg@grandegger.com, mkl@pengutronix.de, davem@davemloft.net, michal.simek@xilinx.com, anssi.hannula@bitwise.fi Subject: [PATCH] net: can: xilinx_can: Fix flags field initialization for axi can Date: Wed, 9 Oct 2019 12:59:47 +0530 Message-Id: <1570606187-30935-1-git-send-email-appana.durga.rao@xilinx.com> X-Mailer: git-send-email 2.7.4 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(376002)(396003)(136003)(199004)(189003)(478600001)(47776003)(16586007)(106002)(51416003)(8676002)(70586007)(7696005)(70206006)(48376002)(2906002)(81166006)(316002)(81156014)(26005)(5660300002)(8936002)(14444005)(36386004)(186003)(50226002)(4744005)(356004)(6666004)(9786002)(2616005)(4326008)(107886003)(50466002)(486006)(305945005)(126002)(36756003)(336012)(426003)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR02MB2770; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; A:1; MX:1; MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 363b656d-5d7d-4d56-d93c-08d74c8a7f28 X-MS-TrafficTypeDiagnostic: BN6PR02MB2770: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:3513; X-Forefront-PRVS: 018577E36E X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kHclkjCRrwJZM2V9wym+7+IPRhl49at1R8/JP+Bs73f1k6OwiK1l0TmL6qKJhE2dfrwDKx/gAyxMws3NYaVaeGS9Tb0BKbD/EfDmJ2qPo3SPscN22pZMPuWjIq1jKUQJAREoYk4MChGMrpAL4goekVRNpRFcS6iUABhNHb7Qf2qua5caWT1o75K7kiF0AxS1pP3SY24j5jQr7j9lWEK2/bOFLZNvuYbvz1yGqjrdzheVgS8EhfceAMTn0dgk4i3W5vBpVN0uCp4vycJ/f7+tYgor3LKFpMoazqm+CWbDSH2ZLUQ3i6Oj286TVAkV6yMXgD0oXi5kmI8dmd8Rf1XRN2OI5OhNEqd3UTVSqWix7YZvQxDkYoMsPCN0ARWYdRletgaocg1Ge5XLMb1SSRh0j5CMeQSlqgg/gl0ZXp65ko4= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2019 07:30:01.7054 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 363b656d-5d7d-4d56-d93c-08d74c8a7f28 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR02MB2770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191009_003006_167123_0DA91F83 X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 2.4 (++) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (2.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.78.49 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 2.4 AC_FROM_MANY_DOTS Multiple periods in From user name X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, Appana Durga Kedareswara rao , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-can@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org AXI CANIP doesn't support tx fifo empty interrupt feature(TXFEMP), update the flags filed in the driver for AXI CAN case accordingly. Fixes: 3281b380ec9f ("can: xilinx_can: Fix flags field initialization for axi can and canps") Reported-by: Anssi Hannula Signed-off-by: Appana Durga Kedareswara rao --- drivers/net/can/xilinx_can.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c index 911b34316c9d..7c482b2d78d2 100644 --- a/drivers/net/can/xilinx_can.c +++ b/drivers/net/can/xilinx_can.c @@ -1599,7 +1599,6 @@ static const struct xcan_devtype_data xcan_zynq_data = { static const struct xcan_devtype_data xcan_axi_data = { .cantype = XAXI_CAN, - .flags = XCAN_FLAG_TXFEMP, .bittiming_const = &xcan_bittiming_const, .btr_ts2_shift = XCAN_BTR_TS2_SHIFT, .btr_sjw_shift = XCAN_BTR_SJW_SHIFT,