Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp453586lqd; Wed, 24 Apr 2024 07:22:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzgDOXrMbwnk7bymnfGyZdn3rPb/lBuJXK7mSxT+oLZa8/YKuf7TIqasmmMUMi53dbjcq1vQGApmx4FUR52qS4WU6u/DMEKryIUjxWJw== X-Google-Smtp-Source: AGHT+IFVzQlln1eNxmQvvlYeQayZMEp2MT8SMRzQURpibeFWy15Df0uwqZ7Obdedx9CkduraOnOE X-Received: by 2002:a05:6a20:979a:b0:1aa:a421:4239 with SMTP id hx26-20020a056a20979a00b001aaa4214239mr2466106pzc.15.1713968547163; Wed, 24 Apr 2024 07:22:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713968547; cv=pass; d=google.com; s=arc-20160816; b=WGFKPVa1qLG5ERaXGZs/SJUkqoxbgLQoMb+kR5LctzT5DeswGvRne+Cep+U2Rl+g++ 5IGuyQxpxclWFJcEhTu6TSa4mgWTbg0IIw86MvscsviAr67GYW5l6er5sEgYExeJBPS7 tD5uNHhsvOV4LhBVY3v05OWSlkFAA6S6f83cnqmgvPCDifUOmKdbG4nhlEjpH5zstEmu JoA+F+Rr8cnJ1Bm1mxm1lvffNBjCy5om7yAFckLJvIzWfInVDlgYWyGVR5Pi6VabYPSr YSkHRpTcdNLMwYwPG5u5eFgXPVkXrvmEuWv9AhQZvpZuk3ZKguebsMdjabPp5BkPr13h uX9g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=OJOkOXEDjyGwHEAIRxy9yVTSRc7WltSpJOsWiHEVp4o=; fh=nBxRm3IWe8YQZ7iyThTzUrBvxco7e4Rk9LMAAQ0BsUE=; b=nUgR4PArqX22po1ubzv9jibWsTkPPWyLO25LaVtAmhKFEUk+3yO+ppIXskBJutEuoC DpIjsCSRi87xpHjglZg3Uyt6BkFZ+x1BnNSXP3KOEn9q+mMnWLejYG/xCu7i8eFAlwbP Hssfj4Uiz3opkF3dtytvVwA95hZJZ8nm/+DQkiKC0EY+9M3qsQAsrckF8rmVSMGdq9ES LWsXt6RDid6QfjJ/8sKbUQAtcqsNl8EwvmZn+zos7L+MDUa4Yvx3weRlUYiTUdN3nE5K cz6u8GSIVvZhrUl2b33lpQNINEqzLhMwMR9CbDvmXKq5dWkFcvtz8Q2uzHE7ufq1JiF9 lNzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NMYtRAGd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-157035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d6-20020aa78e46000000b006e7302e5edesi9455190pfr.150.2024.04.24.07.22.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 07:22:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NMYtRAGd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-157035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 49217B2100C for ; Wed, 24 Apr 2024 14:05:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80F6E15DBA3; Wed, 24 Apr 2024 14:05:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NMYtRAGd" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEE6415B986 for ; Wed, 24 Apr 2024 14:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713967521; cv=none; b=UrCHXilI36pARdfGc9qk/7v4lm0Bgh9uDxtfyhP/z22PTLkFuqeLJD/MrnRP7s4UBLmFrbf/EJ7zm6PZ77Z7nsKWLks8a3Z7zY7hj9FGt3PE5qeuJFQnTVEj8orQgFUNFZmP/VgYx6CS8rgWnphkCzvVY3U44b/l2Kfyhs3/A9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713967521; c=relaxed/simple; bh=4SJtdaTjsf5SlFRQaf4S7zUbhDdqyb6snZP2XyBRKSc=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=HVfx+7avQoFLMZKgwl4I5/LnfbVnfNNMOZUbhbPwyudO1K/GTv9JaTVtP63eEF4Qeyf7Z804wmwZ/k07WnSc1X8p8YmoFEns7SLAB4RAnbqBRdb2nlDxRG+9Je5RUR9Y2yiudbYl58yZmSR4vitfNe+wymktDOYtkNLNZ2OXkio= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NMYtRAGd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17C3CC113CE; Wed, 24 Apr 2024 14:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713967521; bh=4SJtdaTjsf5SlFRQaf4S7zUbhDdqyb6snZP2XyBRKSc=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=NMYtRAGdWkBMaTV7DfzwijJ6jca+ChyqJzITpUswwvWPgJEtKeZ/CpAphHvTj8YN9 5iLXynLGsF/L/zcVF4omD/VLl2l6xpicrp5RbzZEowNQz5OD4RBIXFABzXYrNgk+Ad h1acPwRPTFEyBnbeZoQbpiQgfjQIxMo/t328RT0GugXx9ig/qFmqn7Egokwbk1cIZq OaYSBtua/NrzsgKD2NHkGWH9Hx/CMmt3KtuFbclLD/hlqeHtvudrG8dhwmB3PsVulq i/OOp3vAZAVluv0a/VDkmTJaIYuuogPZevvQlznfXTAUB7ZkjOFxbNXgP6GdQy4lAj I95dDWlIdiOxw== From: Mark Brown To: Matti Vaittinen , Matti Vaittinen Cc: Liam Girdwood , linux-kernel@vger.kernel.org, Aleksander Mazur , Guenter Roeck In-Reply-To: References: Subject: Re: [PATCH] regulator: change devm_regulator_get_enable_optional() stub to return Ok Message-Id: <171396751942.1800997.17688066759852563892.b4-ty@kernel.org> Date: Wed, 24 Apr 2024 23:05:19 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14-dev On Tue, 23 Apr 2024 14:38:28 +0300, Matti Vaittinen wrote: > The devm_regulator_get_enable_optional() should be a 'call and forget' > API, meaning, when it is used to enable the regulators, the API does not > provide a handle to do any further control of the regulators. It gives > no real benefit to return an error from the stub if CONFIG_REGULATOR is > not set. > > On the contrary, returning an error is causing problems to drivers when > hardware is such it works out just fine with no regulator control. > Returning an error forces drivers to specifically handle the case where > CONFIG_REGULATOR is not set, making the mere existence of the stub > questionalble. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: change devm_regulator_get_enable_optional() stub to return Ok commit: ff33132605c1a0acea59e4c523cb7c6fabe856b2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark