Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3339959imw; Mon, 11 Jul 2022 06:54:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uA9GbxkkBhINWmX1FaALwD7aDNWx6HyzT4CWwT+KkOpkceGUAz3tQ3AKZBRFSyCIEAXLC+ X-Received: by 2002:aa7:c650:0:b0:43a:2c9a:fd1f with SMTP id z16-20020aa7c650000000b0043a2c9afd1fmr24738674edr.318.1657547645883; Mon, 11 Jul 2022 06:54:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657547645; cv=none; d=google.com; s=arc-20160816; b=V5M32xlDz7AkQpDml2dZRFfpxBG4YJP2u+uLfMJUuxEZcax473TCpREQSVCd+HtLyu bKK2VUhbVk5TwwN/0Rnx6ELWqaMYomfFCw8gF9bIfuxZSQuQZp5arn9160lHvozvHVUQ +UcmFW4HX0pqIEaGLm7UPTKHJj43yklYzWiqGdfqYXfQPy3sgSsMVzKFSdf2dqsI7cgl lpJTbjOsdKj8zArCTKyIzPRrIQLRwcpu2rlWc/gmYgzpBn8wivePqaWfxD+3Twflh3x5 RGSBLa4U+zHkXiZ0PubVn58z8hUL7JjO/tqLL5QDhsoKtZoAVlACkB/5wVmVudhD1h65 TKYw== 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=sdwpzHws2jwe9e9bTdjMo364Spj9w7i0w60w+KBGqzo=; b=HItxrv0UdCqmdoqBjOXkmvzv3Gf7CG2IXCMHiyux0wb8Qbuh0jQWeE/em0mfL5Zou6 D+vUHu1AQi5EOve4QdrP0nn/hp8op0k/iGqEqYtqf5VpzCh8bzNImPLMKcboNZ6Zue18 cyU6vnkEgqAqsPuG9PQSV6E0JO6oQmChOpH0s/zHmTX7rzgRaSGnPXxcpItnCcztxkHl 71cfh7oJKsoI15/ykMY7ZMLWbEUfZVK7QY/eRe2eSOdSaiqzxwXGLdGyV31ExfMWF1kh BfXq0tA/z4Qox1DpOrxMTPK98VrTH5OLoFaImgiJOLlLVleLW6bWDgCEoErXSHtn34/b Jsxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fr4fWush; 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 ho32-20020a1709070ea000b0072b5adee784si3876154ejc.529.2022.07.11.06.53.17; Mon, 11 Jul 2022 06:54:05 -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=@gmail.com header.s=20210112 header.b=fr4fWush; 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 S230250AbiGKNlr (ORCPT + 99 others); Mon, 11 Jul 2022 09:41:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiGKNlq (ORCPT ); Mon, 11 Jul 2022 09:41:46 -0400 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E67A4D4CB; Mon, 11 Jul 2022 06:41:46 -0700 (PDT) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-31bf3656517so48914067b3.12; Mon, 11 Jul 2022 06:41:46 -0700 (PDT) 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=sdwpzHws2jwe9e9bTdjMo364Spj9w7i0w60w+KBGqzo=; b=fr4fWushiyeFwkSE3Elj1GJcVBKEkH9TYQXwt6wz4kbsYFKBJI//8iBtjTkvh5m1td lY7TfolHcZmJ1dz6rDPtdUYujjlmqX8ciG2fNQFd6hLW4eyu6FDKmhH2pkRUHFKE2cyb VcpAzYU5hrNR9Se+wAlsoJT68cGW/HkJfwHyRGy4EyXLKfDxzpAviP/RMPn3mk8PQHkJ fzYAho6X6h0SaNwiRPu1MB7smEYPPCAQj+9wCvOJG2yKAW4hOVeubiw84h25f62ViSY3 jX8Sblb4eOdlN4bvdVBGvcccQVyr96nWK5fH5xIEcqkV28GBuVvCEnGA17epZDLIdr5I vZuA== 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=sdwpzHws2jwe9e9bTdjMo364Spj9w7i0w60w+KBGqzo=; b=wWZW+V7Zsh/7lRYxYwu8gokQbVT7gpvg9wMWskr24Si1LRGkCKi3/p+VOW8pF2oiMs LGVvYiIjIHg99c8HSYGaYtsaO6DvKdEte1al/C+bYX86JBxgfOq91P3MQXLijr7G7iZG aeehT8S8ZT4bHnxzPFLvBh1fNk7QO8H6gsBWmkIyDQ4Hz1ZtyTIgbmWuhzkGfdnI8+X6 sZQLEDkKKfRapJG/trv4FrtVtx0Tam4bkTwQuDq68YLecpuVZnbC9JeaqJJOghMY+TfJ D43TlAh6SRWb8rmomoGav/1F/Uv01ZhrudkM3tAIMGdjQTKz7cRBNLprBNxBq4SrECpj tByA== X-Gm-Message-State: AJIora/TSI0NGsWPf6tO2Uwt5LJEx4gv7w2R91DVabJDPfdenJc4aC9r is0A7APo3Oo4kB1lGHPVQTKkcUkwrMZFUrmmVbE= X-Received: by 2002:a81:4986:0:b0:31d:388b:d08d with SMTP id w128-20020a814986000000b0031d388bd08dmr14590130ywa.185.1657546905261; Mon, 11 Jul 2022 06:41:45 -0700 (PDT) MIME-Version: 1.0 References: <20220711112900.61363-1-shreeya.patel@collabora.com> <20220711112900.61363-3-shreeya.patel@collabora.com> In-Reply-To: From: Andy Shevchenko Date: Mon, 11 Jul 2022 15:41:08 +0200 Message-ID: Subject: Re: [PATCH v7 2/2] iio: light: Add support for ltrf216a sensor To: Shreeya Patel Cc: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Zhigang.Shi@liteon.com, krisman@collabora.com, linux-iio , devicetree , Linux Kernel Mailing List , Collabora Kernel ML , alvaro.soliverez@collabora.com, dmitry.osipenko@collabora.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 On Mon, Jul 11, 2022 at 3:39 PM Shreeya Patel wrote: > On 11/07/22 18:36, Andy Shevchenko wrote: > > On Mon, Jul 11, 2022 at 1:30 PM Shreeya Patel Please, remove unneeded context when replying! ... > >> +static const struct regmap_config ltrf216a_regmap_config = { > >> + .name = LTRF216A_DRV_NAME, > >> + .reg_bits = 8, > >> + .val_bits = 8, > >> + .max_register = LTRF216A_MAX_REG, > > Why do you use regmap locking? What for? > > Why do we want to skip the internal locking if it doesn't bring any > benefits? Can you elaborate on the "no benefits" part, please? -- With Best Regards, Andy Shevchenko