[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025041154-perfume-demote-2fef@gregkh>
Date: Fri, 11 Apr 2025 16:04:22 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Chance Yang <chance.yang@...ron.us>
Cc: Chunfeng Yun <chunfeng.yun@...iatek.com>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, morgan.chang@...ron.us,
stable@...r.kernel.org
Subject: Re: [PATCH v3] usb: common: usb-conn-gpio: use a unique name for usb
connector device
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
Powered by blists - more mailing lists