Re: [PATCH RFC 0/5] USB Type-C alternate mode selection

From: Greg Kroah-Hartman

Date: Thu Sep 18 2025 - 03:50:20 EST


On Wed, Sep 17, 2025 at 05:09:44PM -0700, Abhishek Pandit-Subedi wrote:
> After actually trying to do this today, I think a better approach
> might be to just add a MODULE_SOFTDEP for all the typec altmodes. That
> way, all the modules get loaded together and there's less of a chance
> of waiting for the altmode driver to load when enumerating partners on
> boot.

MODULE_SOFTDEP is going to be nothing but problems going forward, I
wouldn't recommend it at all. Try it out yourself on your hardware and
see :)

thanks,

greg k-h