Re: [PATCH] USB: serial: mxuport: update number-of-ports encoding

From: Greg KH

Date: Fri May 08 2026 - 01:16:53 EST


On Thu, May 07, 2026 at 04:11:14PM +0200, Johan Hovold wrote:
> In preparation for adding support for 3, 5, 6 and 7 port devices, replace
> the current one-bit-per-type encoding of the number of ports with a more
> compact four bit encoding (2..16 ports or undefined).
>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> ---
> drivers/usb/serial/mxuport.c | 38 +++++++++++++++---------------------
> 1 file changed, 16 insertions(+), 22 deletions(-)

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>