Re: [PATCH] usb: dwc2: Refactor register operations with clrsetbits macros

2025-06-02 Thread Mattijs Korpershoek
Hi, On Sun, 26 Jan 2025 00:29:59 -0800, Junhui Liu wrote: > Refactor DWC2 USB gadget driver to replace manual read-modify-write > operations with `clrsetbits_le32`, `setbits_le32`, and `clrbits_le32` > macros, which simplify the code and improve readability. > > Thanks, Applied to https://sourc

Re: [PATCH] usb: dwc2: Refactor register operations with clrsetbits macros

2025-04-23 Thread Junhui Liu
Hi Marek, There are some platforms' USB functionality that are stuck due to the lack of the reset method introduced in dwc2 v4.20a, such as Canaan K230 SoC and Sophgo CV1800 SoC. Is there anything else I need to do to get this patch and previous patch series taken? Thanks! On 26/01/2025 00:29,

Re: [PATCH] usb: dwc2: Refactor register operations with clrsetbits macros

2025-01-28 Thread Mattijs Korpershoek
Hi Junhui, Thank you for the patch. On dim., janv. 26, 2025 at 00:29, Junhui Liu wrote: > Refactor DWC2 USB gadget driver to replace manual read-modify-write > operations with `clrsetbits_le32`, `setbits_le32`, and `clrbits_le32` > macros, which simplify the code and improve readability. > > Si

[PATCH] usb: dwc2: Refactor register operations with clrsetbits macros

2025-01-26 Thread Junhui Liu
Refactor DWC2 USB gadget driver to replace manual read-modify-write operations with `clrsetbits_le32`, `setbits_le32`, and `clrbits_le32` macros, which simplify the code and improve readability. Signed-off-by: Junhui Liu --- This patch is a supplement of patch series [1]. [1] https://lore.kerne

Re: [PATCH] usb: dwc2: Refactor register operations with clrsetbits macros

2025-01-26 Thread Marek Vasut
On 1/26/25 9:29 AM, Junhui Liu wrote: Refactor DWC2 USB gadget driver to replace manual read-modify-write operations with `clrsetbits_le32`, `setbits_le32`, and `clrbits_le32` macros, which simplify the code and improve readability. Signed-off-by: Junhui Liu Reviewed-by: Marek Vasut Thanks !