[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <29803905-d0e2-3efb-e249-fd745f9abcf0@gmail.com>
Date: Thu, 6 Oct 2022 15:05:30 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: justinpopo6@...il.com, alcooperx@...il.com, kishon@...com,
vkoul@...nel.org, f.fainelli@...il.com,
linux-kernel@...r.kernel.org, linux-phy@...ts.infradead.org
Cc: bcm-kernel-feedback-list@...adcom.com
Subject: Re: [PATCH 1/6] phy: usb: Improve port mode selection
On 10/5/2022 2:30 PM, justinpopo6@...il.com wrote:
> From: Justin Chen <justinpopo6@...il.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@...il.com>
Acked-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists