usb: typec: ucsi: ccg: Move to the new API
Replacing the old "cmd" and "sync" callbacks with an implementation of struct ucsi_operations. The interrupt handler will from now on read the CCI (Command Status and Connector Change Indication) register, and call ucsi_connector_change() function and/or complete pending command completions based on it. Change-Id: I9dfdc70b10544d6e65a0d289491be7cd9232e4af 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-14-heikki.krogerus@linux.intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Git-commit: e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2 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