All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: lee@kernel.org
Cc: linux-kernel@vger.kernel.org,
	Aaro Koskinen <aaro.koskinen@iki.fi>,
	Andreas Kemnade <andreas@kemnade.info>,
	Kai Svahn <kai.svahn@nokia.com>,
	Kevin Hilman <khilman@baylibre.com>,
	linux-omap@vger.kernel.org, mfd@lists.linux.dev,
	Peter Ujfalusi <peter.ujfalusi@ti.com>,
	Roger Quadros <rogerq@kernel.org>,
	Samuel Ortiz <sameo@linux.intel.com>,
	syed khasim <x0khasim@ti.com>, Tony Lindgren <tony@atomide.com>
Subject: [PATCH v3 0/2] mfd: twl-core: Fix dangling twl_priv on teardown and probe failure
Date: Thu, 19 Nov 2026 19:49:28 +0000	[thread overview]
Message-ID: <20261119194939.2436337-1-lee@kernel.org> (raw)

These issues were reported by Sashiko.

Patch 1 is the minimal, Stable-suitable fix from v2 (13/27), which was
skipped when the rest of that series was applied due to a collision with
"mfd: twl-core: Unregister the auxiliary platform device on unbind".

Patch 2 is the follow-up suggested by Andreas, converting the manual
twl_priv reset to a devres action.

v2 => v3:
 - Rebased patch 1 onto for-mfd-next
 - Sent the previously standalone devres follow-up as patch 2

v2 (patch 1): https://lore.kernel.org/all/20261027093306.2812695-14-lee@kernel.org/
v1 (patch 2): https://lore.kernel.org/all/20261105110332.1874728-1-lee@kernel.org/

Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Andreas Kemnade <andreas@kemnade.info>
Cc: Kai Svahn <kai.svahn@nokia.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: linux-omap@vger.kernel.org
Cc: mfd@lists.linux.dev
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Roger Quadros <rogerq@kernel.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: syed khasim <x0khasim@ti.com>
Cc: Tony Lindgren <tony@atomide.com>

Lee Jones (2):
  mfd: twl-core: Clear twl_priv pointer on teardown and probe failure
  mfd: twl-core: Reset twl_priv using devm_add_action_or_reset()

 drivers/mfd/twl-core.c | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

-- 
2.56.1.750.gf70dc682cf-goog


             reply	other threads:[~2026-11-19 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 19:49 Lee Jones [this message]
2026-11-19 19:49 ` [PATCH v3 1/2] mfd: twl-core: Clear twl_priv pointer on teardown and probe failure Lee Jones
2026-11-19 19:49 ` [PATCH v3 2/2] mfd: twl-core: Reset twl_priv using devm_add_action_or_reset() Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261119194939.2436337-1-lee@kernel.org \
    --to=lee@kernel.org \
    --cc=aaro.koskinen@iki.fi \
    --cc=andreas@kemnade.info \
    --cc=kai.svahn@nokia.com \
    --cc=khilman@baylibre.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mfd@lists.linux.dev \
    --cc=peter.ujfalusi@ti.com \
    --cc=rogerq@kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=tony@atomide.com \
    --cc=x0khasim@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.