[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9d8fddf3-52aa-f20f-e19c-a53f863cd3ef@skidata.com>
Date: Thu, 2 May 2019 07:42:24 +0200
From: Richard Leitner <richard.leitner@...data.com>
To: Serge Semin <fancer.lancer@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC: Serge Semin <Sergey.Semin@...latforms.ru>,
<linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/3] usb: usb251xb: Create a ports field collector method
On 24/04/2019 23:12, Serge Semin wrote:
> Seeing the ports field collection functionality is used four times per
> just one function, it's better to have a dedicated method performing
> the task. Note that this fix filters the port 0 out from the lanes
> swapping property the same way as it has been programmed for the rest
> multi-ports properties. But unlike the rest of ports config registers
> the BIT(0) of the Port Lanes Swap register refers to the Upstream Port
> lanes inversion. This fact hasn't been documented in the driver bindings
> nor there were any mentioning about port 0 being treated as upstream
> port. Lets then leave this fix as is for the properties unification
> and create an additional "swap-us-lanes" in the next patch.
>
> Signed-off-by: Serge Semin <fancer.lancer@...il.com>
> ---
> drivers/usb/misc/usb251xb.c | 71 ++++++++++++++-----------------------
> 1 file changed, 26 insertions(+), 45 deletions(-)
>
Acked-by: Richard Leitner <richard.leitner@...data.com>
Powered by blists - more mailing lists