Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3451516rwb; Sun, 20 Nov 2022 14:33:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf6v8enYydAHATef+kKaiQ9eDTX8Br3HEFrcUboEt3pC7rfPD7AHRqH6CNGwYQ4IAl5u0sk3 X-Received: by 2002:a17:903:2584:b0:185:3d0b:ac93 with SMTP id jb4-20020a170903258400b001853d0bac93mr9184923plb.5.1668983597277; Sun, 20 Nov 2022 14:33:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668983597; cv=none; d=google.com; s=arc-20160816; b=pS2xSwB2ks7952jJHiq0oCTMCg98o643VHFAfcf1FHxPywDfsjvhtzDaTzQkmfxbFy uT0Q3ZEChR4NvT3XJKK7Uzu8Wu7nT7FT5DbvXwFqTYK5A4dzXeez7ZsXZozu3OpjnBNc 79nOQfRaLuGNYzOfgHQsbIC/DroqDLUvjmnJJKm2vQNk0H8YAh+4VNQMruRoefG4bZmZ j1X+8nUQnEfqrruVMgSjmr/h6VtNzW7g4ralNAqDwLH0lcIMZN+hgKv81Rw/d+uLYdeI aSIgLndGOzC5Zh+xHIZ9EZzGviARp+u5wD9Jxz/Ob1SIKGQyujMHtH4zFPHW8ng4mx/t T77w== 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:date:subject:cc:to:from :dkim-signature; bh=pDEjgpvsAu6uo2RIiSHglP99uNky2FjdyFx/KtLLazk=; b=dWa4iK9ENYi5j7H29pq0biQHdmzJUJFbYFmNa3P/F1VLeZAevAkTkbQRsceMsKSuz5 jG32pT/MWjQHYoSbM6LuUgjFTdDqPCyc2pTRFG2cljWajPRiG409LRTZSejCjxP/toAz gAEohleo9rNkR7NfVOfNlFWF7qHIXN78gsSJIHcASEKfL7MCcwkR066jMMIT/8UWImnp hsNVFLel1LJrm5proXszsEk9SZ1wkNQyHBZoqnABxvY/Gz9d00cliijO5OK5ZwssCgSx ilTNgWLQRSmhw4vebHTC1L8kSYN6UHdaGlZnxPehtubnJJC0ozWbNlA+MOeyZ98DO4Di yu6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=IxzGs5Zh; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020aa79d03000000b0056cac533dfdsi8485960pfp.261.2022.11.20.14.33.05; Sun, 20 Nov 2022 14:33:17 -0800 (PST) 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=fail header.i=@kemnade.info header.s=20220719 header.b=IxzGs5Zh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229818AbiKTWMf (ORCPT + 91 others); Sun, 20 Nov 2022 17:12:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbiKTWMY (ORCPT ); Sun, 20 Nov 2022 17:12:24 -0500 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47B5426120; Sun, 20 Nov 2022 14:12:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pDEjgpvsAu6uo2RIiSHglP99uNky2FjdyFx/KtLLazk=; b=IxzGs5ZhUOEIHUlFdwn0Wyo2Xs m3qcQQ63QDBfNlGDIabucsa0v3CaZbqT3aTByV1rcN/aFRzTXNylVxhJX3Ezk6yGF0efrwvhyuSdL nDzxBo6s3wx9+YQuGfVvC+o3WHr3yJtmtYDzAXy0nVsDebLo8YOg8O+emZ0jjnVoNF5fqdZO5KXNJ McVuTLq0q92tr/nCEJBfWLC0JHuSk+PZA62anYfytJ6lm3vnM0yPyuqo83k827IjNg95KqkRYCUlI 0/y52qgFJGa5DoPGbfA4FIBMBCzJx64ObnjmjaoUnUFKIf1J3ePg3IeIc97muspivY3CJNToAFsDz a4cLt6BQ==; Received: from p200300ccff43b2001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff43:b200:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1owsXv-00068x-5h; Sun, 20 Nov 2022 23:12:15 +0100 Received: from andi by aktux with local (Exim 4.94.2) (envelope-from ) id 1owsXu-00Cypj-8V; Sun, 20 Nov 2022 23:12:14 +0100 From: Andreas Kemnade To: tony@atomide.com, lgirdwood@gmail.com, broonie@kernel.org, Nicolae_Rosia@mentor.com, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andreas Kemnade Subject: [PATCH 1/2] regulator: twl6030: re-add TWL6032_SUBCLASS Date: Sun, 20 Nov 2022 23:12:07 +0100 Message-Id: <20221120221208.3093727-2-andreas@kemnade.info> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221120221208.3093727-1-andreas@kemnade.info> References: <20221120221208.3093727-1-andreas@kemnade.info> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.0 (-) 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_NONE,SPF_PASS 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 In former times, info->feature was populated via the parent driver by pdata/regulator_init_data->driver_data for all regulators when USB_PRODUCT_ID_LSB indicates a TWL6032. Today, the information is not set, so re-add it at the regulator definitions. Fixes: 25d82337705e2 ("regulator: twl: make driver DT only") Signed-off-by: Andreas Kemnade --- drivers/regulator/twl6030-regulator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/regulator/twl6030-regulator.c b/drivers/regulator/twl6030-regulator.c index 430265c404d6..7c7e3648ea4b 100644 --- a/drivers/regulator/twl6030-regulator.c +++ b/drivers/regulator/twl6030-regulator.c @@ -530,6 +530,7 @@ static const struct twlreg_info TWL6030_INFO_##label = { \ #define TWL6032_ADJUSTABLE_LDO(label, offset) \ static const struct twlreg_info TWL6032_INFO_##label = { \ .base = offset, \ + .features = TWL6032_SUBCLASS, \ .desc = { \ .name = #label, \ .id = TWL6032_REG_##label, \ @@ -562,6 +563,7 @@ static const struct twlreg_info TWLFIXED_INFO_##label = { \ #define TWL6032_ADJUSTABLE_SMPS(label, offset) \ static const struct twlreg_info TWLSMPS_INFO_##label = { \ .base = offset, \ + .features = TWL6032_SUBCLASS, \ .desc = { \ .name = #label, \ .id = TWL6032_REG_##label, \ -- 2.30.2