Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1776187pxb; Wed, 2 Feb 2022 12:14:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxh+ZN5ioHgJ8UMR2dd/ymJtQ5cCwSCMJJPjN9eLcpJfLHXBKf3bOYElzTEj/lVD0hT4bnk X-Received: by 2002:a17:907:3da5:: with SMTP id he37mr26526287ejc.171.1643832883565; Wed, 02 Feb 2022 12:14:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643832883; cv=none; d=google.com; s=arc-20160816; b=TUYnbintTbUyNJqdLpiqEVU3Nr8xQ78pqafudtb214hp97vyPnetRHPPEDv8/p6i4X 5m/UytUEZQ+6QGeAhH72vF4qyJ4DE0D8V9PGqV69zHrgsBmWbgjwnNVUj1XfrPwisczE sGvvBbFDhXgN/lJVtX4PDEAPUQbP+mjLsm70Ay7QgDRqTLhb0mDxomtTdu83ys31nWRo 22K4RFe28r5s5cKWEJ00H3M4bFn5MlzDA7pbtMVcdBn7smg42pQWXcvXAaVwBwgqz4KY dvct7Xid1lBeDYxueAYA1+d3KQflUm3vexsE2VAX7+Z1mqAdDJHJRDOYUrRyPXDcM0+I IgwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RWu5pDMV1z9EmfaCLWyaLnspdjFYx8WMWSWMsW9MZfM=; b=wXUjAye/VAQNG1h/Phc1h+JGVBBRiUBPg5+a0caJrs7RYCM0XO5lGo9ZkkgRYrIQvA IsSEp/YSoX71mPo9QIdD01/0zeXCnnsExcaIawHmJvB9kvbuTBzJZVhoY/L/b+7qaEPE lnKZkbA0Uv0oW5oVPqKTmdrusuHZZ2Asl8IzTJqR9wCsCQk7s8xRBMnB8oMJ2kiOmOVW ITJO3tnNitL86lVnqvylfHnhGHASitkqbsImrQC0lx6SRSnZIynln8ek+A425zqYCFnl Y0pUjbkyJuHCYYynLUA6MjnCYPl/5coXYn3TsNzLPi/vsp9R8+AMCJja8h2qxutqmMZ7 KOEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ASPPkxAb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w19si12865979edc.225.2022.02.02.12.14.15; Wed, 02 Feb 2022 12:14:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ASPPkxAb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345312AbiBBPEX (ORCPT + 99 others); Wed, 2 Feb 2022 10:04:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232809AbiBBPEW (ORCPT ); Wed, 2 Feb 2022 10:04:22 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A19A5C061714; Wed, 2 Feb 2022 07:04:22 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id l5so42495702edv.3; Wed, 02 Feb 2022 07:04:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RWu5pDMV1z9EmfaCLWyaLnspdjFYx8WMWSWMsW9MZfM=; b=ASPPkxAbndGOdZ2beML4k/g6klMhIr3bRHdGzh1IPqYXOJesPkBCe0mGArORQasiE8 aZtWiF3U5D7lpXcTkcr7qqTXOgEbep2LbcJc/+pMkKSZ8/UlR2UsMgxVc0iQk2pFrDS3 CiNM8qQ5zXfFhlnhnrzRgeYI6dwYJ6MXMB24itST/Jqz5szETzrgKgYR7DmWcPjWIwv7 atPzSqO+53QBit1zHItb7xgJmVr8Y/okudp3ZyyS1/kzwoGL78JKzl0yJge68iWAhLT+ Sg0s16dUvJjrB4JuXIx3gAT3EhsolXZLqyNqQs15RM1gA8mruL/fku+Fwdq3gpykqyl1 jfYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RWu5pDMV1z9EmfaCLWyaLnspdjFYx8WMWSWMsW9MZfM=; b=IT1Hef8SJUcmI4wdLhK9QIV36axIi/XKMxD4MoON/Aemt/T0wkBiywqGi/QjYIOimW 5gsp83qJFWfnqa5EUFICPSKMiSskxpWc903v3c9Remp0xLqgAKp372f2TkyQNYKQdSZK X/U8qysbZ6J2DJubDOwr0g9IMT6Y4ogRNRmDfXKYHv350+4XlQ6DHlJMqz3gZfLDBpZ3 ZA1/kqPOV6DbNlX4Oz7llteMSElj6zpxQ6SUvTgfRKbYDlkK3CDXdzpN940eZbGMnnga NG+FVH+WCqgnckwuGfVH/7lafo1ILP4ZB25cIAtUXHK/eD5lJYfTZ2snnz1ThP7kYk53 9bUw== X-Gm-Message-State: AOAM533zdEHCZAqrT6CUQC/MrVDkPw9T6tVQMKhXCVo2mfC2uJzA7pTM EgZekscx+pFw2kDpQBgwYFxWknaOTPwe6xmdSyo406uyg3I= X-Received: by 2002:a05:6402:1705:: with SMTP id y5mr30480593edu.200.1643814261117; Wed, 02 Feb 2022 07:04:21 -0800 (PST) MIME-Version: 1.0 References: <20211208135644.3523024-1-n.latmos@deepsea.ai> <20220130151737.43ef5b08@jic23-huawei> In-Reply-To: From: Andy Shevchenko Date: Wed, 2 Feb 2022 17:02:46 +0200 Message-ID: Subject: Re: [PROBLEM]: Error during probing process in inv_icm42600_i2c driver To: Jean-Baptiste Maneyrol Cc: Jonathan Cameron , Nikos Latmos , "jmaneyrol@invensense.com" , "lars@metafoo.de" , "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 1, 2022 at 10:17 PM Jean-Baptiste Maneyrol wrote: > > Hello, > > this is a known issue. When setting I2C parameters, it enables some specific filter for improving transfer quality. These filters are by default disabled to enable I3C usage. > > This operation creates a spike in the lines that make the transaction fails even if it is in fact doing OK. > > Do not change the register value. The fix is to ignore the return value of the regmap_update_bits done on INV_ICM42600_REG_INTF_CONFIG6. > > If you want to create a patch, it would be very welcomed I could review it. That patch should have a good comment to summarize the above. -- With Best Regards, Andy Shevchenko