Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp326944rdh; Thu, 23 Nov 2023 05:14:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGKOi0VWmXftF1aiS/rwMJ6RHi9SYtYWlbhaSc1v7gVDRrxSj5wgGlED52oLF2dV0RrsiC4 X-Received: by 2002:a05:6e02:f41:b0:35b:2e81:7272 with SMTP id y1-20020a056e020f4100b0035b2e817272mr5405071ilj.2.1700745298257; Thu, 23 Nov 2023 05:14:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700745298; cv=none; d=google.com; s=arc-20160816; b=tU57KiIXNb6DB5971aiQzaw/hCGR2tDKyj94vGVeZYpW0sLBZYCp1P0UCnOhV1Ps0l 6pQB+5YES3VsQS+yObEBs7HsjvdPWpKnKq3Dt7gcSrmem6kAY8B+c/sOkgVenVec3PE2 E0HrvaOwjLH5rQ9Vjiq2IFmKgLiAupkfK7KaTUAqRJo5yJ8RkVS6A1MV5pqphPs/We+T nX8zwYsOybx6ugOkdsw/kRCaQ65yI4TOHqpzmlEoTylVjAWcxnkL4GH1t4QWrpcU9LCg 9/dzB5cy5PUp5teM0gGMRJXinspRJnUnUkfi4hP8vMDU6vt8iuNEpqn9u1qREw8aH6BI 9YOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Fv8GZerhhui6fIHfOSZEUfr0KlTYNPj6B+LleuIkHfQ=; fh=GaU29FNU3MxzQhS4SnL1FCOkGUIApwAhuXcvAlk6D9U=; b=Ap2WlY3MI7JPqDg3NRwAFaHq9Wh6HcSJx2+uMj0lAkbUACtawbinKtYQuZOHdY8jA8 ccwAi4A23AuymVUxlyzZIT0xC78IqGLCCV4H54PW85TXfGRvskpSkatnTBuA8uY2KVFX CZ5nyE5TUC8fQEeQaDjSL/9Nqt6102bVxt7WAZunOtyPe5YRI8CQbmLAGvm4bvwFoWep E4mTUxvbGI0h0iBhDeVcY9TqEZ1NTasfqJL6/+uShRPAnSyKMi+DQCaY3kFBdSL2rJTC 3igAut4du2sIwIP8FsmYXFuYZEAIDTFWcbLkou5v0lQ+6DIro+mulfCAp9baivOPZNNW +9hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=P+tsbNqj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id r26-20020a6560da000000b005b8ee1c0c68si1210662pgv.605.2023.11.23.05.14.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 05:14:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=P+tsbNqj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E7441808BCBF; Thu, 23 Nov 2023 05:14:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345422AbjKWNOc (ORCPT + 99 others); Thu, 23 Nov 2023 08:14:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345410AbjKWNOb (ORCPT ); Thu, 23 Nov 2023 08:14:31 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1C1D1B3 for ; Thu, 23 Nov 2023 05:14:37 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-2857670af8cso170544a91.0 for ; Thu, 23 Nov 2023 05:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1700745277; x=1701350077; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Fv8GZerhhui6fIHfOSZEUfr0KlTYNPj6B+LleuIkHfQ=; b=P+tsbNqj9G+Fug1Zx4EIV+b5TLy2T+ZBhD0N/inYzwRjlymadxTYDbADdcTpGHllpa fw1gZ3Lf54PeglSyVI0B3z9xEhfCxGMimHQxZ0yJBHu8eQw1c02EjRyRYEQvbflZ+2Ij /+7aOd7UlWnEUg0sMSEmOUovx08x0mF0Wo9V43ekLQRYjofKau578vmGcYuMuz7HKg47 YM3pg5AHNRJLqbxDPc5Pr8g5QaQL03CSLWB2PfdAlZ4glMiIQrrgHGUXElmVzrkywCSk 3Ynw4aX2zb/oCTzfRuPDYusb3pU+i1/YV2/xOwARIeKBZ+JSi1wQLF4oYBYnZWBtqfrr EGxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700745277; x=1701350077; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Fv8GZerhhui6fIHfOSZEUfr0KlTYNPj6B+LleuIkHfQ=; b=gcPnG+OfRiu4YqqGMDTaSszep+erm+zG+P2MW8JC2Z3uDcBfptmhZF9Gve+tADUOoH lXgjy9tq28Tnknaxwz30zpP/tNJopQPyYlLwl2kXMsFheUeJ0WP28E8yei+YDEtkgnfb dmgah1vuGsuu97ryaGTvqbvXfSlYhtiJGflxXAA9w6H2xUhNVjrnwA2TNnjJDYZOm4Ij +tNLQFgKtUvQ9dBGs1BgJPMlXZEdQ6XU+etla+PAk5RqBVdiTKFluOnNDsB1SNtNTYlO W2Ztny3rXdjAHWANtxfZxDl/TCkmcfZ6w7mfEFCFTCSMoRKXCvkSo36Rv5plbSBEX7MZ n5Rg== X-Gm-Message-State: AOJu0YygIXrN30sNZbkxd+fYXvRKe6jpou7tUnLht2ORwz3ekWPVlPvS roawDU3Ae0IvWDJAwUI9TFXso9zgxXYjH9u3WxuclQ== X-Received: by 2002:a17:90a:ab02:b0:285:6f1a:4a71 with SMTP id m2-20020a17090aab0200b002856f1a4a71mr985917pjq.32.1700745276789; Thu, 23 Nov 2023 05:14:36 -0800 (PST) MIME-Version: 1.0 References: <20230914114521.1491390-1-naresh.solanki@9elements.com> <20230920130528.GG13143@google.com> <20230921103156.GB3449785@google.com> <20231117121531.GC137434@google.com> <20231121153302.GD173820@google.com> <20231122114958.GJ173820@google.com> In-Reply-To: <20231122114958.GJ173820@google.com> From: Naresh Solanki Date: Thu, 23 Nov 2023 18:44:26 +0530 Message-ID: Subject: Re: [RESEND PATCH v3] leds: max5970: Add support for max5970 To: Lee Jones Cc: Pavel Machek , Patrick Rudolph , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 23 Nov 2023 05:14:55 -0800 (PST) Hi Lee On Wed, 22 Nov 2023 at 17:20, Lee Jones wrote: > > Please read this: > > https://subspace.kernel.org/etiquette.html#do-not-top-post-when-replyin= g Ack > > On Tue, 21 Nov 2023, Naresh Solanki wrote: > > > Hi Lee, > > > > Thank you for your insights. I appreciate your guidance on the matter. > > Yes will rewrite the change as below: > > > > regmap =3D dev_get_regmap(pdev->dev.parent, NULL); > > if (!regmap) > > return -ENODEV; > > > > I believe this modification aligns with your suggestion. Please let me > > know if this meets the requirements or if you have any further > > suggestions or adjustments > > Please submit the next revision. Ack Regards, Naresh > > > On Tue, 21 Nov 2023 at 21:03, Lee Jones wrote: > > > > > > On Mon, 20 Nov 2023, Naresh Solanki wrote: > > > > > > > Hi > > > > > > > > On Fri, 17 Nov 2023 at 17:45, Lee Jones wrote: > > > > > > > > > > On Thu, 09 Nov 2023, Naresh Solanki wrote: > > > > > > > > > > > Hey Lee, > > > > > > > > > > > > Is there anything specific you'd suggest changing in the curren= t > > > > > > patchset, or are we good to proceed? > > > > > > > > > > What do you mean by proceed? > > > > > > > > > > You are good to make changes and submit a subsequent version. > > > > > > > > > > Not entirely sure what you're asking. > > > > > > > > As a follow up on previous discussion regarding use of DEFER on pro= be > > > > if regmap isn't initialized, the implementation was based on other = similar > > > > drivers & hence it was retained although its not needed due to depe= ndencies. > > > > > > > > I'm not entirely sure to keep the regmap check or make another > > > > patch revision with regmap check removed ? > > > > > > You tell me. > > > > > > You should understand the device you're attempting to support along w= ith > > > the code you're authoring and its subsequent implications. If you do= n't > > > know what a section of code does or whether/why it's required, why di= d > > > you write it? > > > > > > -- > > > Lee Jones [=E6=9D=8E=E7=90=BC=E6=96=AF] > > -- > Lee Jones [=E6=9D=8E=E7=90=BC=E6=96=AF]