[PATCH 1/6] phy: usb: Improve port mode selection
Florian Fainelli
f.fainelli at gmail.com
Thu Oct 6 15:05:30 PDT 2022
On 10/5/2022 2:30 PM, justinpopo6 at gmail.com wrote:
> From: Justin Chen <justinpopo6 at gmail.com>
>
> Split port modes into two different variables. Supported port modes
> is what the hardware supports. While port mode is how the hardware
> is currently configured and can be dynamically changed through the
> sysfs. We initialize all supported port modes on init even though
> the port mode may not be selected because we cannot guarantee the
> downstream interface from the phy will be active or not.
>
> This also fixes an issue where port modes selected via sysfs were
> not being saved through suspend/resume.
>
> Signed-off-by: Justin Chen <justinpopo6 at gmail.com>
Acked-by: Florian Fainelli <f.fainelli at gmail.com>
--
Florian
More information about the linux-phy
mailing list