public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Chance Yang <chance.yang@kneron.us>
Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	morgan.chang@kneron.us, stable@vger.kernel.org
Subject: Re: [PATCH v3] usb: common: usb-conn-gpio: use a unique name for usb connector device
Date: Fri, 11 Apr 2025 16:04:22 +0200	[thread overview]
Message-ID: <2025041154-perfume-demote-2fef@gregkh> (raw)
In-Reply-To: <20250411-work-next-v3-1-7cd9aa80190c@kneron.us>

On Fri, Apr 11, 2025 at 04:33:26PM +0800, Chance Yang wrote:
> The current implementation of the usb-conn-gpio driver uses a fixed
> "usb-charger" name for all USB connector devices. This causes conflicts
> in the power supply subsystem when multiple USB connectors are present,
> as duplicate names are not allowed.
> 
> Use IDA to manage unique IDs for naming usb connectors (e.g.,
> usb-charger-0, usb-charger-1).
> 
> Fixes: 880287910b189 ("usb: common: usb-conn-gpio: fix NULL pointer dereference of charger")

This isn't a "fix" it is a "new feature to support multiple devices in
the same system".

So I'll drop the stable stuff here when applying it, thanks.

greg k-h

      reply	other threads:[~2025-04-11 14:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-11  8:33 [PATCH v3] usb: common: usb-conn-gpio: use a unique name for usb connector device Chance Yang
2025-04-11 14:04 ` Greg Kroah-Hartman [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=2025041154-perfume-demote-2fef@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=chance.yang@kneron.us \
    --cc=chunfeng.yun@mediatek.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=morgan.chang@kneron.us \
    --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