Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6310057pxb; Wed, 17 Feb 2021 00:37:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz62feQBZtBQOWQk3lPUcPEPm9A7jDrHOXwVWdCvDtghPvJ8yEEq1kz4GNdmfLg9Z4SzhdF X-Received: by 2002:a17:906:2c1b:: with SMTP id e27mr25505514ejh.235.1613551074822; Wed, 17 Feb 2021 00:37:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613551074; cv=none; d=google.com; s=arc-20160816; b=wKpinp5/puRSaqxCak1lgJsfG2DIdbAa8DcqV5n0Hz3Cs51jRNmanGtqf6n4HKo+zi vp4Yv4mdqwZujf9ObwdCCPQiZ8Uzw/d1Rb0aa6k/IFYwttOek3nDSD1OH0/HGAAmkuIa 8DSGc13QmollQIzDzxYla0aZEdEwe9KITCY+ywQw4D5da2IbneTuEYS44UHcSuHmo0cq j5qDk/7n7vPy/+IyXYew7w+4SGNiAgpICRqLV8nkmNFIuCg3XZYD3x7knKDUUjqvwFSi 4C/9lTxSGtEiTQ0b3OkwjnSGiBqq4pEB3qEuHydFKli2O01R618BgNiy2D1GelOURYFO W/gg== 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; bh=0m2I2OwCW5JSeFBkeIlo2UykcMOLRIMmiN1PTHT+gTg=; b=qRNDMBdu2gru49Jb74pAqEDHamI+y0cXqunHr71V811fovmoccHlvcL9O0YlXR3lz4 OA/Tn9DTcr0SLuU2HDzpQq6ZX3i5yBj76fW5VdKf4u+eeCfnz6LIvq7EKGHo7oEqYku3 qH/xJOVO9GQHsrW88FsXt1BvaUJ6xdMKAOv4pK7sqaB1ixYyrEq0QobdflIKO9JzSB8q ADQn9pd7ei19hfUeyF96BiLqIPhNPgATot++UJSpUNKP3RA+1zmjBs/lmmJ444XvZMNo byjHMfGJspVM2O4RuwV6NUZY7HhLqbzxjJMb3P8kk5uHW++4lrdIvZVvHfgQ6FWe3PEd atcg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gg11si1055923ejb.751.2021.02.17.00.37.30; Wed, 17 Feb 2021 00:37:54 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232137AbhBQINI (ORCPT + 99 others); Wed, 17 Feb 2021 03:13:08 -0500 Received: from mail-oi1-f180.google.com ([209.85.167.180]:46107 "EHLO mail-oi1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231796AbhBQIJU (ORCPT ); Wed, 17 Feb 2021 03:09:20 -0500 Received: by mail-oi1-f180.google.com with SMTP id f3so14063796oiw.13; Wed, 17 Feb 2021 00:09:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0m2I2OwCW5JSeFBkeIlo2UykcMOLRIMmiN1PTHT+gTg=; b=nnx3JRlpJSRBdxMqnHoEOr2BjBGRTkluObEsHzRhyzqrJQ8tXnHOQdXKaSGOyGhsEw 9G+3lBXaxTUVc+GNoHqxuHSavtjZPHlppPubDpEAkNlFQ1Bu/E6LpkyOahkUdwT0JGJm GI1OTbo6V4NRNSM4Tj7qj7PIFXvESyODNIeMLPv6GjBrx4xmO9qMqDANrHR87oPEAY7R SMaPDgXNJQAjrZPoRbJ1nij2gWkji4rXelv9sQd4vRCeVsvLGZneoIygRJHqCMSmlzUm 94DCqH3JO4H9AM7fPF9MvOLaLPdeb6IGmiZwDdQqc6QWK59s4UwFYJmPy8rFZaedRFhh aVnA== X-Gm-Message-State: AOAM530dBU6a3qrgayNg2ufhaawoJ1DvHGDstSqJFqN0l1WSlRKKpO4r Z4Hsej2ea/Q1iqgKI3dBzeGcxSv9AuCuONRAOqE= X-Received: by 2002:aca:d8c6:: with SMTP id p189mr5057476oig.54.1613549319797; Wed, 17 Feb 2021 00:08:39 -0800 (PST) MIME-Version: 1.0 References: <20210216174146.106639-1-jacopo+renesas@jmondi.org> <20210216174146.106639-12-jacopo+renesas@jmondi.org> In-Reply-To: <20210216174146.106639-12-jacopo+renesas@jmondi.org> From: Geert Uytterhoeven Date: Wed, 17 Feb 2021 09:08:28 +0100 Message-ID: Subject: Re: [PATCH 11/16] media: i2c: max9286: Cache channel amplitude To: Jacopo Mondi Cc: Kieran Bingham , Laurent Pinchart , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Mauro Carvalho Chehab , Linux Media Mailing List , Linux-Renesas , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 16, 2021 at 6:41 PM Jacopo Mondi wrote: > Cache the current channel amplitude in a driver variable > to skip updating it if the new requested value is the same newly > as the currently configured one. > > Signed-off-by: Jacopo Mondi Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds