Re: [PATCH 3/3] USB: phy: convert usb_phy_generic logic to use a faux device
From: Andy Shevchenko
Date: Mon Feb 03 2025 - 10:22:02 EST
On Mon, Feb 03, 2025 at 03:25:19PM +0100, Greg Kroah-Hartman wrote:
> The usb_phy_generic code was creating a "fake" platform device to pass
> around in different places. Instead of doing that, use the faux bus
> instead as that is what is really wanted here.
> Site note, this fixes a bug in the mpfs driver where the incorrect
> pointer was being passed to usb_phy_generic_unregister(), odd that no
> one ever hit this in the past.
Seems nobody ever removed (unbind'ed) the module at run-time.
--
With Best Regards,
Andy Shevchenko