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

Mattijs Korpershoek mkorpershoek at kernel.org
Mon Jun 2 10:04:10 CEST 2025


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://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)

[1/1] usb: dwc2: Refactor register operations with clrsetbits macros
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/42911f61b776cda40ba2b8c9e57988a84ad359a5

--
Mattijs


More information about the U-Boot mailing list