From: Johan Hovold <johan@kernel.org>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH v2] media: cx231xx: fix devres lifetime
Date: Thu, 30 Apr 2026 10:41:59 +0200 [thread overview]
Message-ID: <afMV1z9FD7sQOXFn@hovoldconsulting.com> (raw)
In-Reply-To: <20260330093727.1622465-1-johan@kernel.org>
On Mon, Mar 30, 2026 at 11:37:27AM +0200, Johan Hovold wrote:
> USB drivers bind to USB interfaces and any device managed resources
> should have their lifetime tied to the interface rather than parent USB
> device. This avoids issues like memory leaks when drivers are unbound
> without their devices being physically disconnected (e.g. on probe
> deferral or configuration changes).
>
> Fix the driver state lifetime so that it is released on driver unbind.
>
> Fixes: 184a82784d50 ("[media] cx231xx: use devm_ functions to allocate memory")
> Cc: stable@vger.kernel.org # 3.17
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---
>
> Changes in v2
> - Drop CC tag for Mauro to make the CI bot happy
Can this one be picked up now?
Johan
prev parent reply other threads:[~2026-04-30 8:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-30 9:37 [PATCH v2] media: cx231xx: fix devres lifetime Johan Hovold
2026-04-30 8:41 ` Johan Hovold [this message]
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=afMV1z9FD7sQOXFn@hovoldconsulting.com \
--to=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=stable@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox