From mboxrd@z Thu Jan 1 00:00:00 1970 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 DAA1A2C11D4 for ; Fri, 5 Dec 2025 16:02:48 +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=1764950569; cv=none; b=CNZZGjsNQ7lY1mYU2BR9qmtHGlXOyKuLK+EnOWQ0T4XScQs1m/qXOUYFiDxTVU2xVKF/dVuOaT6CsA7GWIEPY0X+mr1ST1Xw/j0RijcVmaagcd4+ab/farAjIttharkFLPYs/DKUcfQpsrsRDpVf/C4xrXR8/s1MG8FqEvZByK4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764950569; c=relaxed/simple; bh=RzjsnXHjFwRgwf9FyJJ5GdMZw1l+zEkRJDf0EIbEzYg=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=VUkTxtTzb94oqkPALzloC4c9R/LgqMYzpomdoWWRCJaqeTCEmL8Zq+MpxGwfDLbzn4tVGKI9A4xjVfN2yI/nRr8ldyBU60rKpzn1ZF2Peu/3nz5Duoi26ZZOeHmwvzHnWc9sj/ckX7NGxFZRhuViOXmauOMSpUrHHj5d5sr1l0I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=X34ysf2W; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="X34ysf2W" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7BB2C116B1; Fri, 5 Dec 2025 16:02:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764950567; bh=RzjsnXHjFwRgwf9FyJJ5GdMZw1l+zEkRJDf0EIbEzYg=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=X34ysf2WXT0nAo2+RFeA/3EJAU90QoX2R/hfw5JY0H7PY587GM3sNruhQPEPDdImC ZdL6bLZVs8a5OLM2v7+hIdw27o2fH95Tq2J09O5y6y5+j2bwLXi2iScBozDUk+lIv9 05lamFDwh92FUi1hJ9YbuI46/7me4643rnk39pcx1SpOUP2yqfEgH5wDItw/qib+e2 228zPlLYfnk0jUheteDIHtS2mk6j64wKS2JVM6tnXtZWRvSlUIC1SWh0YlYUK9lZZj NE6UC7cD8y+87ZChcT5zusIHyL7Fl1g4uv+VMfgXpUauom75s8x0XU1GV9ulYAImrJ vyXNcLlHzGJPw== From: Mark Brown To: Liam Girdwood , Diederik de Haas , Mark Brown Cc: Haotian Zhang , linux-kernel@vger.kernel.org In-Reply-To: <20251204-regulator-fixed-fix-gpiod-leak-v1-1-48efea5b82c2@kernel.org> References: <20251204-regulator-fixed-fix-gpiod-leak-v1-1-48efea5b82c2@kernel.org> Subject: Re: [PATCH] regulator: fixed: Rely on the core freeing the enable GPIO Message-Id: <176495056668.27605.14199249889679769517.b4-ty@kernel.org> Date: Fri, 05 Dec 2025 16:02:46 +0000 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.15-dev-88d78 On Thu, 04 Dec 2025 19:39:34 +0000, Mark Brown wrote: > In order to simplify ownership rules for enable GPIOs supplied by drivers > regulator_register() always takes ownership of them, even if it ends up > failing for some other reason. We therefore should not free the GPIO if > registration fails but just let the core worry about things. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: fixed: Rely on the core freeing the enable GPIO commit: 79a45ddcdbba330f5139c7c7ff7042d69cf147b2 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