UPSTREAM: usb: typec: Copy everything from struct typec_capability during registration
Copying everything from struct typec_capability to struct typec_port during port registration. This will make sure that under no circumstances the driver can change the values in the struct typec_capability that the port uses. Signed-off-by:Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by:
Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20191104142435.29960-2-heikki.krogerus@linux.intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Bug: 158724419 Change-Id: I6e94623300837afe5eedfc5a7d7214d61c147cff (cherry picked from commit ad772c39b2fbb24ff6104d73d14fc125d8f02711) Signed-off-by:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment