usb: typec: tipd: fix use of device-specific init function
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Thu, 4 Jan 2024 17:07:12 +0000 (18:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2024 12:52:53 +0000 (13:52 +0100)
commit933bb7b878ddd0f8c094db45551a7daddf806e00
tree6989821a0be42e0e3cd44ea0a43402d151b6a5ee
parent1154e4304174e0ab4a90d5bae3fd5548aa343472
usb: typec: tipd: fix use of device-specific init function

The current implementation supports device-pecific callbacks for the
init function with a function pointer. The patch that introduced this
feature did not update one call to the tps25750 init function to turn it
into a call with the new pointer in the resume function.

Fixes: d49f90822015 ("usb: typec: tipd: add init and reset functions to tipd_data")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Suggested-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20240104-dev_spec_init-v1-1-1a57e7fd8cc8@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tipd/core.c