Re: [PATCH 1/2] usb: core: add vendor hook for usb suspend and resume

From: Greg KH
Date: Wed Dec 14 2022 - 03:21:12 EST


On Wed, Dec 14, 2022 at 03:06:49PM +0800, Puma Hsu wrote:
> Add the hooks that vendor can design and bypass the suspend/resume.

As Christoph said, there is no such thing in the kernel as a "vendor
hook". That is a Google-only thing that was created for their Android
kernel for various reasons.

For obvious reaons, we can not take the same type of thing here, as that
makes no sense at all (and neither do you want us to.)

As explained each time this patch set has been sent in over the years,
the full implementation of a new callback must be submitted with the
patch series, otherwise it HAS to be rejected. And again, you want this
rule in place, otherwise you would not even be able to use Linux for
your systems.

thanks,

greg k-h