Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1432542rwb; Fri, 19 Aug 2022 03:44:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR6EHNrCB6Sfp8f3lLOljg2KqUQDBXRGKP6H9t5NRkqdU7UCWnrLZDH71ZObzYiW1wdZia3C X-Received: by 2002:a65:6bca:0:b0:420:712f:ab98 with SMTP id e10-20020a656bca000000b00420712fab98mr5836033pgw.350.1660905895670; Fri, 19 Aug 2022 03:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660905895; cv=none; d=google.com; s=arc-20160816; b=DzU3Jei4dvMdqxdAJ23WBpek5snfBNOuGGNISGGd/WDGLd1UtjRVMBfR++JgnY+ySa H1G4Sexq3Q6oG9wA88ORA60NlVeQ0Fv9cBYTOijz3iAmmV8GLuL7wdwdHcWYdiaJFY+2 pCBYC1hDyVtn5LAnq5nX+WHz7FKpNiteCBjrLbyt35o1tF1ZLKs3EfciElIDhZkqM/VU FK6pliU+HzvuvpeZasDcI3LV052EUpCC8n28gmHPeIqE26BzGRUTuGoOZxAR+3CUEPU4 xsfbqqK0PtfuHQLmmhxKizi1NLTmOxUh0UqSIfkmFFzHx9uGajtVPwTHpd3PSuqUnSXb lD0Q== 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 :references:in-reply-to:message-id:cc:to:subject:from:date :dkim-signature; bh=ryDfhbtuwYy5c1tcol3QoAaRVgMHXbulgS9d5yfa2n8=; b=wAerEkSLbJNITeJWcpVprO1/zcsI9KMJd/Z30kMlGO7GQZIsXB4SS3vpoO0rfWj31+ ANy1NzYRrAEkA4IMC8iA5To+KqgTZsUgEzr0zeO3v0CvBYigeBnjI8MIFAzt1LBbyKMd 9MAW/TNfFCxgA/f0JO4W/cr6l8DpatCwYYJaO9sMmEVmBKhHZeApwARGwh2++rFnpzzL 75GfI8uKvWc5wkfCHoq0XbOiEd9WhPxluTACVz/YAxfgO9EARRhUWGu5wVO5iO3Q/hzg 6SOZ2O4trzYRCBhXBdokU3NqNhoQIG92QKS7I04BwbP1S9CDN9L4w05CIO7q7yZZRNFp UGUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b="AyDj/vtH"; 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=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f11-20020a056a00238b00b005350ea9796esi3685404pfc.165.2022.08.19.03.44.44; Fri, 19 Aug 2022 03:44:55 -0700 (PDT) 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=@crapouillou.net header.s=mail header.b="AyDj/vtH"; 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=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348169AbiHSKHg (ORCPT + 99 others); Fri, 19 Aug 2022 06:07:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346395AbiHSKHf (ORCPT ); Fri, 19 Aug 2022 06:07:35 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A1CDEEF3D; Fri, 19 Aug 2022 03:07:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1660903645; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ryDfhbtuwYy5c1tcol3QoAaRVgMHXbulgS9d5yfa2n8=; b=AyDj/vtHJrg0GK0pZAzam8akj3i9uUkn1TYV42yobzb9ve+gR5E0rUoRTqd5PXElNpRFvi pVtLmsqz8sfYBiV6AqLbf2iXzzKeYazBTwKu/fqHD8GItAq4w23N7Kbin4XdywM7BUmXBl kpitl0lC36Tkswi2CoMT8GbetEW2KY8= Date: Fri, 19 Aug 2022 12:07:16 +0200 From: Paul Cercueil Subject: Re: [PATCH 1/4] iio/adc: ingenic: fix channel offsets in buffer To: Andy Shevchenko Cc: Artur Rojek , Jonathan Cameron , Dmitry Torokhov , Chris Morgan , BROADCOM NVRAM DRIVER , linux-iio , Linux Kernel Mailing List , linux-input Message-Id: <4GXUGR.SAF00K92YJMF@crapouillou.net> In-Reply-To: References: <20220817105643.95710-1-contact@artur-rojek.eu> <20220817105643.95710-2-contact@artur-rojek.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, Le ven., ao=FBt 19 2022 at 11:12:38 +0300, Andy Shevchenko=20 a =E9crit : > On Wed, Aug 17, 2022 at 1:58 PM Artur Rojek =20 > wrote: >>=20 >> Consumers expect the buffer to only contain enabled channels. While >> preparing the buffer, the driver also (incorrectly) inserts empty=20 >> data >> for disabled channels, causing the enabled channels to appear at=20 >> wrong >> offsets. Fix that. >=20 > What consumers? Have you tested on all of them? Please, elaborate. It > might be that some of them have to be fixed. In such case you need to > report the issue to their respective channels and put the > corresponding links here. There are no consumers to fix, only this driver. I believe it wasn't=20 noticed until now because all consumers were only using channels 0 and=20 1. Cheers, -Paul > P.S. It doesn't mean I'm against the patch. >=20 > -- > With Best Regards, > Andy Shevchenko