Re: [RFC PATCH v1 2/2] usb: host: add xhci-exynos to support Exynos SOCs
From: Greg Kroah-Hartman
Date: Thu Dec 01 2022 - 03:27:29 EST
On Thu, Dec 01, 2022 at 11:13:31AM +0900, Daehwan Jung wrote:
> This driver works with xhci platform driver. It needs to override
> functions of xhci_plat_hc_driver. Wakelocks are used for sleep/wakeup
> scenario of system.
So this means that no other platform xhci driver can be supported in the
same system at the same time.
Which kind of makes sense as that's not anything a normal system would
have, BUT it feels very odd. This whole idea of "override the platform
driver" feels fragile, why not make these just real platform drivers and
have the xhci platform code be a library that the other ones can use?
That way you have more control overall, right?
thanks,
greg k-h