usb: typec: ucsi: Optimise ucsi_unregister()
There is no need to reset the PPM when the interface is unregistered. Quietly silencing the notifications and then unregistering everything is enough. This speeds up ucsi_unregister() a lot. Change-Id: Ib309aa79ee12ebd6a0e299b64046073bd7866a24 Signed-off-by:Heikki Krogerus <heikki.krogerus@linux.intel.com> Tested-by:
Ajay Gupta <ajayg@nvidia.com> Reviewed-by:
Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20191104142435.29960-19-heikki.krogerus@linux.intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Git-commit: 74ce3e41274805e4a5598f4d98ee4d5160466d07 Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git Signed-off-by:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment