Re: [PATCH v5 4/4] usb: typec: Expose alternate mode priority via sysfs

From: Abel Vesa
Date: Mon Nov 24 2025 - 09:25:15 EST


On 25-11-24 12:46:39, Andrei Kuchynski wrote:
> This patch introduces a priority sysfs attribute to the USB Type-C

Please read submitting patches doc. No "This patch ..." stuff.

The rest of the patch looks OK.

> alternate mode port interface. This new attribute allows user-space to
> configure the numeric priority of alternate modes managing their preferred
> order of operation. If a new priority value conflicts with an existing
> mode's priority, the priorities of the conflicting mode and all subsequent
> modes are automatically incremented to ensure uniqueness.
>
> Signed-off-by: Andrei Kuchynski <akuchynski@xxxxxxxxxxxx>