[PATCH v10 01/11] usb: typec: Add notifier functions

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Nov 21 06:07:03 PST 2025


On Thu, Nov 20, 2025 at 10:23:33AM +0800, Chaoyi Chen wrote:
> From: Chaoyi Chen <chaoyi.chen at rock-chips.com>
> 
> Some other part of kernel may want to know the event of typec bus.

Be specific, WHAT part of the kernel will need to know this?

And why a new notifier, why not just use the existing notifiers that you
already have?  And what is this going to be used for?

Notifiers are a pain, and should almost never be added.  Use real
function calls instead.

thanks,

greg k-h



More information about the Linux-rockchip mailing list