Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1026223rdf; Wed, 22 Nov 2023 03:50:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEuCassOkuSw8vvrXQmVYAwJihL2UG8F/Q2e3xUbx4kQEjVFtlJFJTqvs4DQzqOasYOYs43 X-Received: by 2002:a05:6830:12cf:b0:6d7:da8f:b5ae with SMTP id a15-20020a05683012cf00b006d7da8fb5aemr2300810otq.5.1700653843579; Wed, 22 Nov 2023 03:50:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700653843; cv=none; d=google.com; s=arc-20160816; b=RK88Xadx/QyPBkmCGb1c6Oi8z9vq1Z2s6rVezZfoA2B4LypgSlaNOIqrt0ZqVsCXu6 aILHvRXi/ubrBkjdRzi1A8L/jy5b67IDQPbMxI8nP9pr75DWmOFufvmqRMuMQhGiYLdj q94RCbBptxTBrIbgEq1ZAn2mHu4Gw3kNe/Z58DhN2pbu4su+B+FbJRVbCpVIETNCpFp7 /KpJOfDYteikrmSdVUiOXKmHw10B6p2BrsIFxr9iwCbZLOJg2KgQ8jirVL/NA4v8q37m 61cX0tiQ9txaDcltjQN2C5MZ8rjRph1yYeblyumKDoPd24gxBdzDLCX3xfvPtoLxS/q3 beTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uyADiZBNme7oJKefjS8DFMiowoIsX1ByT9G1dffr9ho=; fh=EfUYTw2lHfLAltvlJLKlEYB3rSkRpQbAFcu6EqYGfBY=; b=G8Gpd+m6TNQ2gMez7xQHJYVSnm9mVWPK6GdkYpX7WuU9eQoIpjcN9Zu3oX75rjpQGF XkX0d04Bb0LWQqGBdMQvIJ9OLgHOShf6H4+YF6j5xIQjSmimK0mMW/I/vKh+Qz45ilAu X0MH0cUZZKSKV8qLOQcBEnusVy6pOwMsbBFWywT1ZorimFvlgT1JZqv2fysUQKIL9B+e XQ4FwtuWWa2nC8sD4d3Z8UeifA+P7wkKkFK8QUOdoRZwQB0HsZ4Q83Y2EB9obqdw49S9 Kdl83OUvp4Vn/wwgjhsu6kUrWlMhzAOjm420D7/oqONQj/P+8N96RtbkamBhskUacXWW QSrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Oe7OloYo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u24-20020a63df18000000b005c1ccaca5c4si12449832pgg.873.2023.11.22.03.50.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 03:50:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Oe7OloYo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id D102C81C09AD; Wed, 22 Nov 2023 03:50:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343697AbjKVLuH (ORCPT + 99 others); Wed, 22 Nov 2023 06:50:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231274AbjKVLuG (ORCPT ); Wed, 22 Nov 2023 06:50:06 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14681197 for ; Wed, 22 Nov 2023 03:50:03 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8798CC433C7; Wed, 22 Nov 2023 11:50:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700653802; bh=w3kG8h1VvYc97hgX3wwWf94uIjyQmpKJij2r7xobzXY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Oe7OloYoY6sfPuiQkjbrcOgApJs1ZDbJur8aDY1z/AW72mN5HB6EsdzkmOIfFv7zQ SuzmSVjhkU6bz58zDeWPVIgBzQsCAusaFrxB14pdzy+hMzenMr6Vewc7hxhn4lJVvE kgI32ynUoz3AEObKOCmkdkspDROCpXEdfan1f2+rhQNvFUFz1tyGZ2bq/k2bZd1fAo OONhbWz2z7E7+wvNMv1lVWUTvPFJITmcEZGVgu2LFcVqkp0NqjMIo9ruYmBJYBEDlL eVSevIxSzaWn0EAOJ2GtvCsFNDZEiMfr3/3gEA9DjH3KInqi4FwiA6tHfTke3YA+1v GzGDBTn8jBUEQ== Date: Wed, 22 Nov 2023 11:49:58 +0000 From: Lee Jones To: Naresh Solanki Cc: Pavel Machek , Patrick Rudolph , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [RESEND PATCH v3] leds: max5970: Add support for max5970 Message-ID: <20231122114958.GJ173820@google.com> References: <20230914114521.1491390-1-naresh.solanki@9elements.com> <20230920130528.GG13143@google.com> <20230921103156.GB3449785@google.com> <20231117121531.GC137434@google.com> <20231121153302.GD173820@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 fry.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 (fry.vger.email [0.0.0.0]); Wed, 22 Nov 2023 03:50:18 -0800 (PST) Please read this: https://subspace.kernel.org/etiquette.html#do-not-top-post-when-replying 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 = 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. > 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 current > > > > > 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 probe > > > if regmap isn't initialized, the implementation was based on other similar > > > drivers & hence it was retained although its not needed due to dependencies. > > > > > > 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 with > > the code you're authoring and its subsequent implications. If you don't > > know what a section of code does or whether/why it's required, why did > > you write it? > > > > -- > > Lee Jones [李琼斯] -- Lee Jones [李琼斯]