[PATCH v3 10/11] phy: sun4i-usb: Replace types with explicit quirk flags
Jernej Škrabec
jernej.skrabec at gmail.com
Mon Nov 7 09:44:12 PST 2022
Dne nedelja, 06. november 2022 ob 16:48:25 CET je Andre Przywara napisal(a):
> So far we were assigning some crude "type" (SoC name, really) to each
> Allwinner USB PHY model, then guarding certain quirks based on this.
> This does not only look weird, but gets more or more cumbersome to
> maintain.
>
> Remove the bogus type names altogether, instead introduce flags for each
> quirk, and explicitly check for them.
> This improves readability, and simplifies future extensions.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
Thanks for working on that, nice cleanup!
Reviewed-by: Jernej Skrabec <jernej.skrabec at gmail.com>
Best regards,
Jernej
More information about the linux-phy
mailing list