Message ID | 20240808135352.575378-1-peng.fan@oss.nxp.com (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 17F06C3DA4A for <linux-arm-kernel@archiver.kernel.org>; Thu, 8 Aug 2024 13:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc: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=0lrAfu0bXNzDTl7jkB63iRk116p6qmpBnqe3cP5jpp0=; b=0Uq+w7SDGJbylF3PDdtGRgr5ul ZOwym2mP7Ro4gnBxwoOx/5XMV7k9TVQ3496hhJ/8fgxcRxEih+O20xU+aSElmI2zhKbFXUtbuD74W dyzESlL/uH8lkIcuXEZnGCkekaxlRW9om2W/Xq9NulUEdV3DblpwV7K0INGyDyOJslfL8m8j3b8WN YtlXemcGgPN3+fNkkA+SNvpk6SClZkNe67BdIAkaNhf4pbNgqiIRU1jUeqtE6TKRmev+Kmzdxj3nh j/Yc7NkEDH1HvvRpu/dpuP0IozhOMUhYiyOxDaF8lUsKe2IS1H5wurb6Y970iaUhBWOxPhn2Q/N5d Ikv3uC6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sc3Sd-00000008PAX-0KHE; Thu, 08 Aug 2024 13:45:47 +0000 Received: from mail-db5eur02on20600.outbound.protection.outlook.com ([2a01:111:f403:2608::600] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sc3S3-00000008P3O-1kx5 for linux-arm-kernel@lists.infradead.org; Thu, 08 Aug 2024 13:45:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=u+xG5RtY6utLqH7+xETx5HogQBuh+3lUnKbQU2BDIWrlpFq2H8NfZD3HY4p7Y75wtcmcpt936y1lmO0OUada99G3BYgrBBElZGJhTISCoxWmnPY8o9XKWg0Ya1Rok0EhbgzxaniY8VtSERsxOSqhE2Ltkr8fIU0qKIRExySNNdKfQM3NJqxQzxNcUE3uqJoqJlqA8T2uOlucQ6llsNdhIEbzIGNJLPZD96Fyi/3vzFIwIeXP5lafarbBS8Ieqxnwxaxc+QhVvPI4K42sFJZElzDkwyuYWUq8J1AdiN7GcUasGJGUu+YhI7+aKq+zAUlY3SvDlHhBOsNVZeppje2Y6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0lrAfu0bXNzDTl7jkB63iRk116p6qmpBnqe3cP5jpp0=; b=yeXQG3Gpx4iAL1134Qpo1Jg+VCRqms+eMk5ti5x5R96zknQTP2M+ea3oryw1BqnLDwWOOn9irdNQg+BkP+X0DlfhwsCywjZH1Pa6k92+RWhXd/UXVOPzdemgtUxAyZIJaPazvcSyiKoDhO3YukD4yRhGSfgDu6XTRbvu7awDE6+rtTP/Qs/ryu8ft7YbxsFeodqPHSdBrBjaYWU4+iFSfEF7nMM5USMra1d0REwc6shFjet63wvc0MDOs3ET7EZcyJU7UU1WzQN4QhrpfW7x4r7rMtKCdspsoehdklGD/nrwl/kwTylTu5OIUU9wU/t+P25rPpNO0oX0JGxM1il8TA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0lrAfu0bXNzDTl7jkB63iRk116p6qmpBnqe3cP5jpp0=; b=eLU3kkQpAc2aL1KhGzoW9n9HGgxtQZ1Sf6O0QBjHqdTF3FTI6KJXSIixPXV5MmC44jxSdJlRepqIxxG3A5hW4aqKwHHgGC2g/I3KTGGRo3gL9e0iRucnirc33hqBKx4y+mXCF/atK4fBghj1cm/JXi6gCGJ6WDUe//THLS083p1ITpRfBfrKeGZAZ1m1KfMVxgBu1EP81JeIRdWxTTQipQdgVFAezQPrMI6yuPd2rRmdbheghxHWI5FvsVJQH/btbOTIPhrADZM4th0zP0AEOay4RTd7EMJd3WsKWAoo/Mm0egSs2cDm3CkNusE1dNMXdZXyh+5Vooon+Z1bBvZzeg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by AS8PR04MB8403.eurprd04.prod.outlook.com (2603:10a6:20b:3f7::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.13; Thu, 8 Aug 2024 13:45:04 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%4]) with mapi id 15.20.7784.020; Thu, 8 Aug 2024 13:45:04 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: srinivas.kandagatla@linaro.org, shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, frank.li@nxp.com, Peng Fan <peng.fan@nxp.com>, kernel test robot <lkp@intel.com> Subject: [PATCH] nvmem: imx-ocotp-ele: correct ELE fuse check Date: Thu, 8 Aug 2024 21:53:52 +0800 Message-Id: <20240808135352.575378-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR01CA0050.apcprd01.prod.exchangelabs.com (2603:1096:4:193::21) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|AS8PR04MB8403:EE_ X-MS-Office365-Filtering-Correlation-Id: fa381978-2ea7-4917-6deb-08dcb7b04ea1 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: 8W2x+kCqA2gYUd3QGl8x/+snG0bhCmajEC1Z6QaHqjrSO6Fij6b3nvOz8isfyw48gAD/U6g0KorixwxMewimG04v0lTPH+jjHSz+0EY5ubMfyIRFscc6be2mxKEgdBbQwCDiXkCbMZkpi+gMBVnTpQxD9qNS/9STA0ieU3y3fcQwFjFlbKFi7/A4Y+IFMOCMUKwLjtC79nFklbotBdrfCCcHvTbfqBEV4eYI2CtM7ynpGj+en91K1F9BkGHRSHqf5KfxpP8jMS18LBTMJdy8MchdLy+LlQ7kSv0MqTYu0jVBtftrG3FNk9WC6jQXY2Kxx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Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZIlWaBP8+mjnU4XG983Fly7erk8dWTyKCzUUaPYonFpJ8/1C6Qk06YNe0N5J4Z3YWq/GN8AEr6J/idMQIUvWqys7i0Hi4aVn/A6DD1cYx0ANXQCHykZ5Rx9hQO6kdFI7CJaLg7RKNpkA+34NEJSVyy8c5UsU7Wxlb+MUjLnjPoacqeNah077pDhZa6rByKt24M9Y8gbIj348tzAVtb+PObU6alqgLIx9SnYNWlw9NcwXq7jWNPfSFhuN2prhk1BPhd0xiGQ41kB8evWihvLjGEuUe3kHj3YsrD2/74SusslgLsKZLcZQ6X3HzF/OKhi3rmwq7kK9j71qpDrZ1S3V8JEV6W7sedcDYzo7/P8bj7ybPjAVeIEXX8AQUqRqM0/nb5prspnwpuRwa3SLjCx0Fdlis87e0dyAX6XdOr1fAKI2P9+NrjZ3/E4HpaiDCUlRNaBCtFnAHqRNfLjWhe9YNCwW17IZoNxQ+FoSjO+ljh5ePMz76Mzv7g++3CIB8J1Oy1l3VZ4bN3AedP0mGE+6AN0BIwPxnlbMX+WZj7QDv3qGZSKxDM7/WE69WMel89SnJIjwHwEswXAP5JkZJPJPSVhlz/QkZOHzUZ54et9QeAj2TIMEiKtBXztGkUTyFX3Wkk78HfTTgSQoplQRZBEZMkb88pf3zCN8jwPPTn0VgxFoIj+kALGkAQlLnW36tInzWMwTJXUgvp4Bfak7+M8ysTCiawn1/4pYJfrgAQVcGphPW0Hpqh6I8kpHOu/cY1uo+sKlNX06xR3+wKv7CdoHGEhUHlBkBg6oTcFRY2QQdXek4ogee02zUBv7hUh1rK286zv30GL6NXkk0fw8ac8VA5eX7dpP+qL7sbZiQ+f8VWtufWnIkoJIYy8FivpzQ32iJKN/Q0pOnpqqH/5v0yBPRes7tC9SVa7z4dlDJY4DIYgw08OTwfcLhS9YQCHyPwllgEMg5J0Gb9gzkZS/y6WaS+MU8FUgRkqIOU/89QNgi/5vGhOkLdPcHaGXiaxMQydtmN85hPCXXoRZFGcbnd7X7+L2bV8jxSVS8YQW7aFdia6IjNsjL5zRbHUK6rQyl9QdHUTUmnZ/5ucrnhSD9FOBuTKeIFSIcdUy/+s9FDOocMDi+/qDf4C7Ln67dhoM6PVasBqm4nP17lOZ0t44fJbIJuT0YskWLgdz0XZrkl4XHrS/sgtOgCITcQPTTG5RXHiC4PY6vgKXI78LVZbLWeLL5ebKDm6XrEJuDskS2rzzGzSCm38Zxfbscy89A4c4lUzpWbga7Q/v0itKuZjbL48ATJTze0oyfp2RM7On5CdSI8RhfxwWRQXgwaV1fpa+/rWycMaWh464p48pTwdQFU/R7rbMkz2RpMqOxPMyOn06ZJyTyawvqX7YvsvRxVs1fh2MM/vk+90F+sZUbmo0i6+c3sFKqVgQXjc525dl2+blGYm6WLFhnObaOxu9i2Zw0/yBPkUy7Oyr/kHWdGEjtEsddz3LsP1B9J/JSjNTFajknFo/Qn7SVdD3mcQlJ6CRTcxw8GzajIqaKPHSkknDjYydP/sf/pM0unequv2pYYlacCx2sUpoWu7Ydr186PpPnm5u X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fa381978-2ea7-4917-6deb-08dcb7b04ea1 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2024 13:45:04.6361 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 91Ezc4RzoIEG2bR2dshP+SgE2HUrEqjLvfyh7Tiujz8F6UhCOuWb/ODIYMRX7HHFGa6Y/FXniHFiWxY86wP0PQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8403 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_064511_489987_86AAFF39 X-CRM114-Status: GOOD ( 12.77 ) 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> 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 |
nvmem: imx-ocotp-ele: correct ELE fuse check
|
expand
|
diff --git a/drivers/nvmem/imx-ocotp-ele.c b/drivers/nvmem/imx-ocotp-ele.c index 4f22310920a2..1ba494497698 100644 --- a/drivers/nvmem/imx-ocotp-ele.c +++ b/drivers/nvmem/imx-ocotp-ele.c @@ -94,7 +94,7 @@ static int imx_ocotp_reg_read(void *context, unsigned int offset, void *val, siz continue; } - if (type | FUSE_ECC) + if (type & FUSE_ECC) *buf++ = readl_relaxed(reg + (i << 2)) & GENMASK(15, 0); else *buf++ = readl_relaxed(reg + (i << 2));