[PATCH] usb: dwc2: Refactor register operations with clrsetbits macros
Marek Vasut
marex at denx.de
Sun Jan 26 12:48:49 CET 2025
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 <junhui.liu at pigmoral.tech>
Reviewed-by: Marek Vasut <marex at denx.de>
Thanks !
More information about the U-Boot
mailing list