Re: [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports
From: Dmitry Baryshkov
Date: Thu Nov 07 2024 - 05:02:53 EST
On Thu, 7 Nov 2024 at 05:19, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Nov 06, 2024 at 05:45:55PM +0200, Dmitry Baryshkov wrote:
> > Instead of checking if any of the USB-C ports have orientation GPIO and
> > thus is orientation-aware, check for the GPIO for the port being
> > registered.
>
> What is the visible affect of this change?
Currently no visible effects. In future it will allow us to specify
that portA is orientation aware, while portB for some reason doesn't
have a corresponding GPIO so it is not orientation-aware and can not
report such events.
> Does it fix an existing bug?
No, otherwise I'd have added the Fixes: tag.
--
With best wishes
Dmitry